8155792: Add @jls citations to java.lang.String
authordarcy
Sat, 30 Apr 2016 16:08:48 -0700
changeset 37723 1b9abe91485d
parent 37722 d8cbae550f3b
child 37724 260809d29c69
8155792: Add @jls citations to java.lang.String Reviewed-by: alanb
jdk/src/java.base/share/classes/java/lang/String.java
--- a/jdk/src/java.base/share/classes/java/lang/String.java	Fri Apr 29 16:58:00 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/String.java	Sat Apr 30 16:08:48 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1994, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1994, 2016, 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
@@ -117,6 +117,7 @@
  * @see     java.lang.StringBuilder
  * @see     java.nio.charset.Charset
  * @since   1.0
+ * @jls     15.18.1 String Concatenation Operator +
  */
 
 public final class String
@@ -2979,6 +2980,7 @@
      *
      * @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();