Draft JEP: Keyword Management for the Java Language
Alex Buckley
alex.buckley at oracle.com
Wed May 1 00:50:47 UTC 2019
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