Skip to content

8332014: since-checker - Fix @ since tags in jdk.jshell #19166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/jdk.jshell/share/classes/jdk/jshell/Snippet.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ public enum SubKind {
* A record declaration.
* A {@code SubKind} of {@link Kind#TYPE_DECL}.
* @jls 8.10 Record Types
* @since 14
*
* @since 17
*/
RECORD_SUBKIND(Kind.TYPE_DECL),

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -158,6 +158,8 @@ public abstract class SourceCodeAnalysis {
* @param input The input String to convert
* @return usually a singleton list of Snippet, but may be empty or multiple
* @throws IllegalStateException if the {@code JShell} instance is closed.
*
* @since 10
*/
public abstract List<Snippet> sourceToSnippets(String input);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -232,6 +232,8 @@ default JavaShellToolBuilder interactiveTerminal(boolean terminal) {
* @throws Exception an unexpected fatal exception
* @return the exit status with which the tool explicitly exited (if any),
* otherwise 0 for success or 1 for failure
*
* @since 10
*/
default int start(String... arguments) throws Exception {
run(arguments);
Expand Down