promoting/moving @jdk.internal.PreviewFeature to be a standard JavaSE API

Dmitry Bessonov dmitry.bessonov at oracle.com
Tue Apr 14 19:26:35 UTC 2020


Hi,

Noticed in the OpenJDK sources that String::stripIndent, String::translateEscapes, String::formatted were annotated with @jdk.internal.PreviewFeature until the very recent time [1].

Are there any plans to move this annotation out of “jdk” namespace to “java” or “javax” namespace?

This movement looks logical as the concept of “Preview Feature” [2] is not JDK-specific - JEP12 has "Scope: SE” and “Exposure: Open".

kind regards,
dmitry


[1] http://hg.openjdk.java.net/jdk/jdk/rev/60ec850952da#l1.7
[2] https://bugs.openjdk.java.net/browse/JDK-8195734



More information about the core-libs-dev mailing list