Home » Java » Core Java » APIs To Be Removed from Java 11

About Dustin Marx

Dustin Marx

APIs To Be Removed from Java 11

After seeing several APIs removed as part of Java 10, Java 11 (JSR 384) looks to remove some more APIs. In the recent OpenJDK java-se-spec-experts mailing list post “JSR 384 (Java SE 11) PFD Specification posted to jcp.org,” Iris Clark announced the availability of the Java SE 11 (18.9) Proposed Final Draft Specification. This document lists APIs that are being removed as part of Java 11.

“Individual” (class/method) APIs are being removed in addition to the removal of entire modules.

Individual APIs Being Removed in JDK 11
Class/Method Being RemovedAdditional Notes / References
java.lang.Runtime.runFinalizersOnExit(boolean)Dangerous runFinalizersOnExit
Deprecating Java’s Finalizer
java.lang.SecurityManager.checkAwtEventQueueAccess()Security Managers and Java SE JDK
java.lang.System.runFinalizersOnExit(boolean)Dangerous runFinalizersOnExit
Deprecating Java’s Finalizer
java.lang.Thread.destroy()Thread Methods destroy() and stop(Throwable) Removed in JDK 11
Module-level APIs Being Removed from Java 11
NameModule RemovedPotential Third Party Replacement
JavaBeans Activation Framework (JAF)java.activationMaven Artifact
Common Object Request Broker Architecture (CORBA)java.corbaglassfish-corba
Aggregator Module for other modules listed in this tablejava.se.ee
Java Transaction API (JTA)java.transactionMaven Artifact
Java Architecture for XML Binding (JAXB)java.xml.bindMaven Artifact
Java API for XML Web Services (JAX-WS)java.xml.wsMaven Artifact
Common Annotationsjava.xml.ws.annotationMaven Artifact

JEP 320 [“Remove the Java EE and CORBA Modules”] and the StackOverflow page “Replacements for deprecated JPMS modules with Java EE APIs” provide significantly more details on replacements for the Java SE EE/CORBA-related modules.

Published on Java Code Geeks with permission by Dustin Marx, partner at our JCG program. See the original article here: APIs To Be Removed from Java 11

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of