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 12 (12.0.2+10-adpt).

Element Modification
java.base
    java.io
      • added
      PrintStream
        • added
        • added
        java.lang.annotation
          ElementType
            • added
            java.lang.invoke
              ClassSpecializer.Factory
                ClassSpecializer.Factory(ClassSpecializer)
                • removed
                ConstantBootstraps
                  • + deprecated
                  • + forRemoval
                  MethodHandles.Lookup
                    • added
                    • + deprecated
                    • added
                    java.lang.reflect
                      Modifier
                        • + deprecated
                        • + forRemoval
                        • added
                        • added
                        java.lang
                          Character.UnicodeBlock
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            Class
                              • added
                              • added
                              LiveStackFrame.PrimitiveSlot
                                LiveStackFrame.PrimitiveSlot()
                                • removed
                                NullPointerException
                                  • added
                                  • added
                                  Runtime
                                    traceInstructions(boolean)
                                    • removed
                                    traceMethodCalls(boolean)
                                    • removed
                                    StrictMath
                                      • added
                                      • added
                                      • added
                                      • added
                                      • added
                                      • added
                                      String
                                        • added
                                        • added
                                        • added
                                        ThreadGroup
                                          • + forRemoval
                                          • + forRemoval
                                          • + forRemoval
                                          Thread
                                            • + forRemoval
                                            • + forRemoval
                                            Character.UnicodeScript
                                              • added
                                              • added
                                              • added
                                              • added
                                              java.net
                                                MulticastSocket
                                                  • + deprecated
                                                  • + deprecated
                                                  • + deprecated
                                                  • + deprecated
                                                  • + deprecated
                                                  • + deprecated
                                                  java.nio.file
                                                    FileSystems
                                                      • added
                                                      • added
                                                      • added
                                                      java.nio
                                                        Buffer
                                                          • added
                                                          ByteBuffer
                                                            • added
                                                            • added
                                                            • added
                                                            • added
                                                            • added
                                                            CharBuffer
                                                              • added
                                                              • added
                                                              • added
                                                              • added
                                                              • added
                                                              DoubleBuffer
                                                                • added
                                                                • added
                                                                • added
                                                                • added
                                                                • added
                                                                FloatBuffer
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  • added
                                                                  IntBuffer
                                                                    • added
                                                                    • added
                                                                    • added
                                                                    • added
                                                                    • added
                                                                    LongBuffer
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      MappedByteBuffer
                                                                        • added
                                                                        ShortBuffer
                                                                          • added
                                                                          • added
                                                                          • added
                                                                          • added
                                                                          • added
                                                                          java.security.acl
                                                                          • removed
                                                                          java.text
                                                                            CompactNumberFormat
                                                                              • added
                                                                              java.time.chrono
                                                                                JapaneseEra
                                                                                  • added
                                                                                  java.util.concurrent.locks
                                                                                    AbstractQueuedLongSynchronizer
                                                                                      • - protected
                                                                                      • + public
                                                                                      LockSupport
                                                                                        • added
                                                                                        java.util.jar
                                                                                          Pack200
                                                                                          • removed
                                                                                          Pack200.Packer
                                                                                          • removed
                                                                                          Pack200.Unpacker
                                                                                          • removed
                                                                                          java.util
                                                                                            HashSet
                                                                                              • added
                                                                                              • added
                                                                                              javax.net.ssl
                                                                                                HandshakeCompletedEvent
                                                                                                  • + forRemoval
                                                                                                  SSLSession
                                                                                                    • + forRemoval
                                                                                                    javax.security.cert
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      • + forRemoval
                                                                                                      java.compiler
                                                                                                        javax.annotation.processing
                                                                                                          ProcessingEnvironment
                                                                                                            • added
                                                                                                            javax.lang.model.element
                                                                                                              ElementKind
                                                                                                                • added
                                                                                                                • added
                                                                                                                • added
                                                                                                                ElementVisitor
                                                                                                                  • added
                                                                                                                  ExecutableElement
                                                                                                                    • added
                                                                                                                    ModuleElement
                                                                                                                      • added
                                                                                                                      PackageElement
                                                                                                                        • added
                                                                                                                        • added
                                                                                                                        TypeElement
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          TypeParameterElement
                                                                                                                            • added
                                                                                                                            VariableElement
                                                                                                                              • added
                                                                                                                              javax.lang.model.util
                                                                                                                                • added
                                                                                                                                • added
                                                                                                                                AbstractElementVisitor6
                                                                                                                                  • added
                                                                                                                                  • added
                                                                                                                                  ElementFilter
                                                                                                                                    • added
                                                                                                                                    • added
                                                                                                                                    • added
                                                                                                                                    ElementKindVisitor6
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      Elements
                                                                                                                                        • added
                                                                                                                                        javax.lang.model
                                                                                                                                          SourceVersion
                                                                                                                                            • added
                                                                                                                                            • added
                                                                                                                                            javax.tools
                                                                                                                                              ToolProvider
                                                                                                                                                • + deprecated
                                                                                                                                                • + forRemoval
                                                                                                                                                StandardJavaFileManager
                                                                                                                                                  • added
                                                                                                                                                  • + deprecated
                                                                                                                                                  java.desktop
                                                                                                                                                    java.awt.peer
                                                                                                                                                      RobotPeer
                                                                                                                                                        dispose()
                                                                                                                                                        • removed
                                                                                                                                                        java.security.jgss
                                                                                                                                                          javax.security.auth.kerberos
                                                                                                                                                            KerberosPrincipal
                                                                                                                                                              • added
                                                                                                                                                              java.xml.crypto
                                                                                                                                                                javax.xml.crypto.dsig.keyinfo
                                                                                                                                                                  KeyValue
                                                                                                                                                                    • added
                                                                                                                                                                    javax.xml.crypto.dsig
                                                                                                                                                                      CanonicalizationMethod
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        java.xml
                                                                                                                                                                          javax.xml.parsers
                                                                                                                                                                            DocumentBuilderFactory
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              SAXParserFactory
                                                                                                                                                                                • added
                                                                                                                                                                                • added
                                                                                                                                                                                • added
                                                                                                                                                                                Data Source

                                                                                                                                                                                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 12.0.2+10-adpt. It does not make statements about compatibility.

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