[External] : Re: New informational JEP: 14: The Tip & Tail Model of Library Development

Alex Buckley alex.buckley at oracle.com
Tue Oct 22 16:51:18 UTC 2024


On 10/22/2024 9:32 AM, Alan Snyder wrote:
> The suggestion is to enhance javac with a new command line flag. This 
> flag is similar to the —enable-preview flag in that it allows some 
> language features to be used that otherwise would be rejected (in this 
> case, because they are not supported by the target JDK release).

javac accepts source code written in a version of the Java language 
defined by a specific edition of the JLS. You are suggesting that javac 
in JDK 24 has a flag to accept source code which uses the Java 8 
language + some but not all of the language features from Java 24. There 
is no edition of the JLS which specifies that hybrid language.

Alex


More information about the jdk-dev mailing list