8332014: since-checker - Fix @ since tags in jdk.jshell
Reviewed-by: jlahoda
This commit is contained in:
parent
9d20b58f40
commit
0fc5b2711f
@ -249,8 +249,8 @@ public abstract class Snippet {
|
||||
* 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),
|
||||
|
||||
|
@ -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
|
||||
@ -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);
|
||||
|
||||
|
@ -250,6 +250,8 @@ public interface JavaShellToolBuilder {
|
||||
* @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);
|
||||
|
Loading…
Reference in New Issue
Block a user