8356633: Incorrect use of {@link} in jdk.jshell

Reviewed-by: rgiulietti, vyazici
This commit is contained in:
Nizar Benalla 2025-06-05 10:31:23 +00:00
parent d450e341c7
commit bd08932d5b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2025, 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
@ -524,7 +524,7 @@ public abstract class Snippet {
/**
* The snippet is inactive because it does not yet exist.
* Used only in {@link SnippetEvent#previousStatus} for new
* Used only in {@link SnippetEvent#previousStatus()} for new
* snippets.
* {@link jdk.jshell.JShell#status(jdk.jshell.Snippet) JShell.status(Snippet)}
* will never return this {@code Status}.

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2025, 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
@ -150,7 +150,7 @@ public abstract class SourceCodeAnalysis {
* They will not appear in queries for snippets --
* for example, {@link JShell#snippets() }.
* <p>
* Restrictions on the input are as in {@link JShell#eval}.
* Restrictions on the input are as in {@link JShell#eval(String)}.
* <p>
* Only preliminary compilation is performed, sufficient to build the
* {@code Snippet}. Snippets known to be erroneous, are returned as