JDK-8245398 : Remove addition preview adornment from String::formatted
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 15
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-19
  • Updated: 2020-05-27
  • Resolved: 2020-05-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b24Fixed
Related Reports
CSR :  
Description
diff -r 0fb0ddc73771 src/java.base/share/classes/java/lang/String.java
--- a/src/java.base/share/classes/java/lang/String.java	Tue May 19 15:57:59 2020 -0300
+++ b/src/java.base/share/classes/java/lang/String.java	Tue May 19 16:46:08 2020 -0300
@@ -3322,15 +3322,6 @@
     }
 
     /**
-     * {@preview Associated with text blocks, a preview feature of
-     *           the Java language.
-     *
-     *           This method is associated with <i>text blocks</i>, a preview
-     *           feature of the Java language. Programs can only use this
-     *           method when preview features are enabled. Preview features
-     *           may be removed in a future release, or upgraded to permanent
-     *           features of the Java language.}
-     *
      * Formats using this string as the format string, and the supplied
      * arguments.
      *
@@ -3344,7 +3335,7 @@
      * @see  java.lang.String#format(String,Object...)
      * @see  java.util.Formatter
      *
-     * @since 13
+     * @since 15
      *
      */
     public String formatted(Object... args) {

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/b01b57c350bb User: jlaskey Date: 2020-05-20 13:01:55 +0000
20-05-2020