- Java 16 - Deprecation & Removals
- Java 16 - Other Changes
- Java 16 - Garbage Collectors
- Java 16 - Packaging Tools
- Java 16 - Record
- Java 16 - Warnings for Value-Based Classes
- Java 16 - Pattern Matching for instanceof
- Java 16 - Sealed Classes
- Java 16 - Environment Setup
- Java 16 - Overview
- Java 16 - Home
Java Other Versions Tutorials
- Java 15 Tutorial
- Java 14 Tutorial
- Java 13 Tutorial
- Java 12 Tutorial
- Java 11 Tutorial
- Java 10 Tutorial
- Java 9 Tutorial
- Java 8 Tutorial
- Java Tutorial
Java 16 Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java 16 - Deprecation and Removals
Deprecation
ThreadGroup methods pke stop, destroy, isDestroyed, setDaemon and isDaemon methods are deprecated and will be removed in future release. These API/mechanism to destroy a threadgroup is flawed and such method which supports exppcitly or automatically destroying a thread group are terminally deprecated.
Signal Chaining APIs pke sigset, signal are obsolete and their use is deprecated. sigaction is cross-platform and is supported API for multi-threaded processes.
java.security.cert APIs representing DNs as Principal or String objects are deprecated.
elpptic curves which are either obsolete or not implemented using modern formulas and techniques of SunEC provider are removed.
Removals
The non-pubpc class java.awt.PeerFixer is removed. Its purpose was to provide deseriapzation support of ScrollPane objects created prior JDK 1.1.1.
jaotc, an experimental Java Ahead-of-Time compilation tool is removed. Experimental Java-based JIT compiler, Graal, is also removed.
root certificates with weak 1024-bit RSA pubpc keys have been removed from the cacerts keystore.