Draft JEP: Keyword Management for the Java Language (original) (raw)

Remi Forax forax at univ-mlv.fr
Wed May 1 12:07:11 UTC 2019


Thanks for this write-up,

two remarks,

regards, Rémi

----- Mail original -----

De: "Alex Buckley" <alex.buckley at oracle.com> À: "jdk-dev" <jdk-dev at openjdk.java.net> Envoyé: Mercredi 1 Mai 2019 02:50:47 Objet: Draft JEP: Keyword Management for the Java Language

Evolving the Java language often means new keywords for new features, but new keywords risk breaking existing programs. In the Project Amber expert group, Brian Goetz suggested a technique for generating new keywords that balances compatibility and readability -- hyphenated keywords -- and there is already a language feature raring to use it (JEP 354, Switch Expressions).

We have now produced an Informational JEP to record the intent and detail of hyphenated keywords, for Feature JEPs may rely on. It also captures a policy for managing (that is, stewarding) Java's keywords more broadly. Your comments are welcome. https://bugs.openjdk.java.net/browse/JDK-8223002 Alex



More information about the jdk-dev mailing list