JDK 15: Multi-Line Strings And... Well, Just Multi-Line Strings, I Guess
What’s This About?
Has it been six months already? Yep: Today, Oracle released JDK 15 or “Next Java LTS, beta 4”. That release comes half a year after JDK 14. And JDK 16 will supersede JDK 15 in another half a year, next March.
I know, I made this beta joke already in last week’s link post. But Oracle agrees: The president of its Java Platform Group, [Georges Saab, said],(https://www.infoworld.com/article/3534133/jdk-15-the-new-features-in-java-15.html) “Developers can look at JDK 15 now to get an idea of what will be in JDK 17”. Now that’s what I call a beta!
What’s in the Release?
It’s mostly previews and deprecations. Unless you’re into garbage collectors, the biggest new feature is multi-line strings:
String html = """ <html> <body> <p>Hello, world</p> </body> </html> """;
Should I Upgrade?
If you’re on the bleeding edge and need this release, you know it and don’t need my advice.
Where Can I Get It?
When Will the Next JDK LTS Version Be Out?
JDK 17 will be out in September 2021. So only one more beta with JDK 16 next March!
Oracle's Ron Pressler thinks most Java developers or their bosses don't care about money, Spring 6 supports Java modules, Adoptium OpenJDK Java 17, Micronaut 3.0, and Spring Boot 2.5.5 & 2.4.11.
Sign up to my newsletter