- Java 15 - Deprecation & Removals
- Java 15 - Other Enhancements
- Java 15 - Deprecation & Removals
- Java 15 - Other Changes
- Java 15 - Garbage Collectors
- Java 15 - Hidden Classes
- Java 15 - record & Sealed Classes
- Java 15 - record
- Java 15 - Text Blocks
- Java 15 - Pattern for instanceOf
- Java 15 - Sealed Classes
- Java 15 - Environment Setup
- Java 15 - Overview
- Java 15 - Home
Java Other Versions Tutorials
- Java 14 Tutorial
- Java 13 Tutorial
- Java 12 Tutorial
- Java 11 Tutorial
- Java 10 Tutorial
- Java 9 Tutorial
- Java 8 Tutorial
- Java Tutorial
Java 15 Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java 15 - Overview
Java 15 is a major feature release and it has brought many JVM specific changes and language specific changes to JAVA. It followed the Java release cadence introduced Java 10 onwards and it was released on Sep 2020, just six months after Java 14 release.
Java 15 is a non-LTS release.
New Features
Following are the major new features which are introduced in Java 15.
JEP 360 - Sealed Classes − To provide fine grained control over the inheritance.
JEP 368 - Text Blocks − A second preview feature to handle multipne strings pke JSON, XML easily.
JEP 375 - Pattern matching Type Check − enhancements to existing pattern matching preview feature of Java 14.
JEP 371 - Hidden Classes − To allow runtime creation of non-discoverable classes.
JEP 384 - Records − A preview feature enhancing a new type record introduced in Java 14.
JEP 383 - Foreign Memory Access API − Enhancement to incubating feature of java 14.
JEP 377, 379 - Garbage Collectors − ZDC and Shenandoah garbage collectors are now part of standard API.
JEP 339 - Edwards-Curve Digital Signature Algorithm (EdDSA) − Cryptographic signatures are now implemented using EdDSA.
JEP 373 - Reimplement the Legacy DatagramSocket API − legacy implementations of the java.net.DatagramSocket and java.net.MulticastSocket APIs are replaced with simpler and more modern implementations which are easy to maintain and debug.
Java 15 enhanced numerous APIs with new methods and options. We ll see these changes in next chapters.
Advertisements