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
With the General Availability of JDK 11 planned for later this month (25 September 2018), it's a good time to start looking more closely at JDK 12.
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)"]
JDK 12 Early Access Build 11 was also recently released. Build 11 addresses several minor issues and implements multiple minor changes.
Published at DZone with permission of Dustin Marx, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.