RFR: JDK-8285932 Implementation of JEP-430 String Templates (Preview) [v7]

Jim Laskey jlaskey at openjdk.org
Thu Nov 3 17:23:54 UTC 2022


On Tue, 1 Nov 2022 15:31:20 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add @SafeVarargs declarations
>
> src/java.base/share/classes/java/util/FormatConcatItem.java line 51:
> 
>> 49:  */
>> 50: @PreviewFeature(feature=PreviewFeature.Feature.STRING_TEMPLATES)
>> 51: public sealed interface FormatConcatItem
> 
> I wonder why is this a public API - is there some way to use it from the client code?
> 
> Note that in named modules, the permitted subtypes don't need to be in the same package, so if this is not needed in the API, it probably can be moved into a non-API package.

Moved

-------------

PR: https://git.openjdk.org/jdk/pull/10889


More information about the core-libs-dev mailing list