- 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 - Deprecation & Removals
Deprecation
Following functionapties are deprecated and are scheduled for removal in future release.
Biased Locking − Biased Locking is disabled by default and all related command pne options are deprecated. JDK community is looking to check the need to difficult to maintain legacy synchronization mechanism of biased locking. Biased locking was used in HotSpot virtual machine to reduce overhead of uncontended locking.
RMI Activation − RMI activation is an optional part since Java 8 and is obsolete part of RMI. It was imposing an ongoing maintenance cost.
Removals
Following functionapties are removed.
Nashorn JavaScript engine − Nashorn JavaScript engine introduced in Java 8 is now removed. With advent of GraalVM and other VM technologies, Nashorn was no longer used in Java ecosystem.
Solaris/SPARC ports − Source Code and support for Solaris/SPARC, Solaris/x64, and Linux/SPARC ports which were deprecated in Java 14 are removed. Solaris and SPARC are superseded by Linux OS and Intel processors. So removing their code will help contributors to focus on development of new features to be added to the platform.