The Java Version Almanac
javaalmanac.io
Feedback on this page?

New APIs in Java 14

Comparing Java 14 (14.0.2+12-adpt) with Java 13 (13.0.2+8-adpt).

Element Modification
java.base
    java.io
      PrintStream
        java.lang.annotation
          ElementType
            java.lang.invoke
              ClassSpecializer.Factory
                Factory(ClassSpecializer)
                • removed
                ConstantBootstraps
                  • + deprecated
                  • + forRemoval
                  MethodHandles.Lookup
                    • + deprecated
                    java.lang.reflect
                      Modifier
                        • + deprecated
                        • + forRemoval
                        java.lang
                          Class
                            LiveStackFrame.PrimitiveSlot
                              PrimitiveSlot()
                              • removed
                              NullPointerException
                                • added
                                StrictMath
                                  String
                                    • - deprecated
                                    • - forRemoval
                                    • + preview
                                    • - deprecated
                                    • - forRemoval
                                    • + preview
                                    • - deprecated
                                    • - forRemoval
                                    • + preview
                                    ThreadGroup
                                      • + forRemoval
                                      • + forRemoval
                                      • + forRemoval
                                      Thread
                                        • + forRemoval
                                        • + forRemoval
                                        java.net
                                          MulticastSocket
                                            • + deprecated
                                            • + deprecated
                                            • + deprecated
                                            • + deprecated
                                            • + deprecated
                                            • + deprecated
                                            java.security.acl
                                            java.text
                                              CompactNumberFormat
                                                java.util.concurrent.locks
                                                  AbstractQueuedLongSynchronizer
                                                    • - protected
                                                    • + public
                                                    LockSupport
                                                      java.util.jar
                                                        Pack200
                                                        Pack200.Packer
                                                        Pack200.Unpacker
                                                        java.util
                                                          HashSet
                                                            java.compiler
                                                              javax.lang.model.element
                                                                ElementKind
                                                                  ElementVisitor
                                                                    TypeElement
                                                                      javax.lang.model.util
                                                                        AbstractElementVisitor6
                                                                          ElementFilter
                                                                            ElementKindVisitor6
                                                                              Elements
                                                                                javax.lang.model
                                                                                  SourceVersion
                                                                                    javax.tools
                                                                                      ToolProvider
                                                                                        • + deprecated
                                                                                        • + forRemoval

                                                                                        This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 14.0.2+12-adpt and 13.0.2+8-adpt. It does not make statements about compatibility.

                                                                                        For the latest Java versions the corresponding CSRs (Compatibility & Specification Review) are linked for a quick reference to find out about the reasoning of the change.

                                                                                        More detailed API comparisons based on the japicmp tool can be found here.