8356633: Incorrect use of {@link} in jdk.jshell
Reviewed-by: rgiulietti, vyazici
This commit is contained in:
parent
d450e341c7
commit
bd08932d5b
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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.
|
* 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.
|
* snippets.
|
||||||
* {@link jdk.jshell.JShell#status(jdk.jshell.Snippet) JShell.status(Snippet)}
|
* {@link jdk.jshell.JShell#status(jdk.jshell.Snippet) JShell.status(Snippet)}
|
||||||
* will never return this {@code Status}.
|
* will never return this {@code Status}.
|
||||||
|
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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 --
|
* They will not appear in queries for snippets --
|
||||||
* for example, {@link JShell#snippets() }.
|
* for example, {@link JShell#snippets() }.
|
||||||
* <p>
|
* <p>
|
||||||
* Restrictions on the input are as in {@link JShell#eval}.
|
* Restrictions on the input are as in {@link JShell#eval(String)}.
|
||||||
* <p>
|
* <p>
|
||||||
* Only preliminary compilation is performed, sufficient to build the
|
* Only preliminary compilation is performed, sufficient to build the
|
||||||
* {@code Snippet}. Snippets known to be erroneous, are returned as
|
* {@code Snippet}. Snippets known to be erroneous, are returned as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user