mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8249687: Use inline @jls and @jvm tages in more places in java.base
Reviewed-by: bpb, mchung, mikael
This commit is contained in:
parent
d1d17200c5
commit
b7c307c019
17 changed files with 40 additions and 40 deletions
|
@ -3533,12 +3533,11 @@ public final class String
|
|||
* if and only if {@code s.equals(t)} is {@code true}.
|
||||
* <p>
|
||||
* All literal strings and string-valued constant expressions are
|
||||
* interned. String literals are defined in section 3.10.5 of the
|
||||
* interned. String literals are defined in section {@jls 3.10.5} of the
|
||||
* <cite>The Java Language Specification</cite>.
|
||||
*
|
||||
* @return a string that has the same contents as this string, but is
|
||||
* guaranteed to be from a pool of unique strings.
|
||||
* @jls 3.10.5 String Literals
|
||||
*/
|
||||
public native String intern();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue