JDK 12 News: Switch Expressions and Raw String Literals
JDK 11 is just around the corner, so let's start looking ahead and more closely at what to expect from JDK 12, including switch expressions and raw String literals.
Join the DZone community and get the full member experience.Join For Free
In a message titled "Proposed schedule for JDK 12" on the OpenJDK jdk-dev mailing list, Mark Reinhold announced, "With JDK 11 nearly out the door, here's a proposed schedule for JDK 12." The schedule for JDK 12 proposed in that message includes the "Release-Candidate Phase" starting on 31 January 2019 and "General Availability" of JDK 12 on 19 March 2019.
There are already two JEPs targeted for JDK 12 and both of them are "preview features" (my previous blog posts on these JEPs are listed as sub-bullets):
- JEP 325 ["Switch Expressions (Preview)"]
- JEP 326 ["Raw String Literals (Preview)"]
Published at DZone with permission of Dustin Marx, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.