The Java Version Almanac
javaalmanac.io

New APIs in Java 13

Comparing Java 13 (13.0.2+8-adpt) with Java 11 (11.0.8+10-adpt).

Element Modification
java.base
    java.io
      FileInputStream
        finalize()
        • removed
        FileOutputStream
          finalize()
          • removed
          InputStream
            • added
            • added
            java.lang.invoke
              • + implements Constable
              • added
              • + implements TypeDescriptor.OfMethod
              • + implements Constable
              • added
              • added
              • added
              • + implements Constable
              • added
              • added
              • added
              • added
              • added
              java.lang.reflect
                UndeclaredThrowableException
                  getCause()
                  • removed
                  java.lang
                    Character.UnicodeBlock
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      • added
                      ClassNotFoundException
                        getCause()
                        • removed
                        • + implements TypeDescriptor.OfField
                        • + implements Constable
                        • added
                        • added
                        • added
                        • added
                        • + implements ConstantDesc
                        • + implements Constable
                        • added
                        • added
                        • added
                        • + implements Constable
                        • added
                        ExceptionInInitializerError
                          getCause()
                          • removed
                          • + implements ConstantDesc
                          • + implements Constable
                          • added
                          • added
                          • + implements ConstantDesc
                          • + implements Constable
                          • added
                          • added
                          • + implements ConstantDesc
                          • + implements Constable
                          • added
                          • added
                          Runtime
                            traceInstructions(boolean)
                            • removed
                            traceMethodCalls(boolean)
                            • removed
                            • + implements ConstantDesc
                            • + implements Constable
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            • added
                            Character.UnicodeScript
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              • added
                              java.net
                                SecureCacheResponse
                                  • added
                                  ServerSocket
                                    • added
                                    java.nio.file
                                      FileSystems
                                        • added
                                        • added
                                        • added
                                        Files
                                          • 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.interfaces
                                                                DSAPrivateKey
                                                                  • + deprecated
                                                                  DSAPublicKey
                                                                    • + deprecated
                                                                    ECPrivateKey
                                                                      • + deprecated
                                                                      ECPublicKey
                                                                        • + deprecated
                                                                        RSAMultiPrimePrivateCrtKey
                                                                          • + deprecated
                                                                          RSAPrivateCrtKey
                                                                            • + deprecated
                                                                            RSAPrivateKey
                                                                              • + deprecated
                                                                              RSAPublicKey
                                                                                • + deprecated
                                                                                java.security
                                                                                  PrivilegedActionException
                                                                                    getCause()
                                                                                    • removed
                                                                                    Key
                                                                                      • + deprecated
                                                                                      PrivateKey
                                                                                        • + deprecated
                                                                                        PublicKey
                                                                                          • + deprecated
                                                                                          java.text.spi
                                                                                            NumberFormatProvider
                                                                                              • added
                                                                                              java.text
                                                                                                • added
                                                                                                NumberFormat.Field
                                                                                                  • added
                                                                                                  • added
                                                                                                  NumberFormat
                                                                                                    • added
                                                                                                    • added
                                                                                                    • added
                                                                                                    java.time.chrono
                                                                                                      JapaneseEra
                                                                                                        • added
                                                                                                        java.util.concurrent
                                                                                                          CompletableFuture
                                                                                                            • added
                                                                                                            • added
                                                                                                            • added
                                                                                                            • added
                                                                                                            • added
                                                                                                            CompletionStage
                                                                                                              • added
                                                                                                              • added
                                                                                                              • added
                                                                                                              • added
                                                                                                              • added
                                                                                                              java.util.stream
                                                                                                                Collectors
                                                                                                                  • added
                                                                                                                  java.util.zip
                                                                                                                    Deflater
                                                                                                                      finalize()
                                                                                                                      • removed
                                                                                                                      Inflater
                                                                                                                        finalize()
                                                                                                                        • removed
                                                                                                                        ZipFile
                                                                                                                          finalize()
                                                                                                                          • removed
                                                                                                                          javax.crypto.interfaces
                                                                                                                            DHPrivateKey
                                                                                                                              • + deprecated
                                                                                                                              DHPublicKey
                                                                                                                                • + deprecated
                                                                                                                                PBEKey
                                                                                                                                  • + deprecated
                                                                                                                                  javax.crypto
                                                                                                                                    Cipher
                                                                                                                                      • added
                                                                                                                                      SecretKey
                                                                                                                                        • + deprecated
                                                                                                                                        javax.net.ssl
                                                                                                                                          HandshakeCompletedEvent
                                                                                                                                            • + forRemoval
                                                                                                                                            HttpsURLConnection
                                                                                                                                              • added
                                                                                                                                              SSLSession
                                                                                                                                                • + forRemoval
                                                                                                                                                javax.security.cert
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  java.compiler
                                                                                                                                                    javax.annotation.processing
                                                                                                                                                      ProcessingEnvironment
                                                                                                                                                        • added
                                                                                                                                                        javax.lang.model.element
                                                                                                                                                          ExecutableElement
                                                                                                                                                            • added
                                                                                                                                                            ModuleElement
                                                                                                                                                              • added
                                                                                                                                                              PackageElement
                                                                                                                                                                • added
                                                                                                                                                                TypeElement
                                                                                                                                                                  • added
                                                                                                                                                                  TypeParameterElement
                                                                                                                                                                    • added
                                                                                                                                                                    VariableElement
                                                                                                                                                                      • added
                                                                                                                                                                      javax.lang.model.util
                                                                                                                                                                        AbstractAnnotationValueVisitor7
                                                                                                                                                                          • + deprecated
                                                                                                                                                                          AbstractElementVisitor7
                                                                                                                                                                            • + deprecated
                                                                                                                                                                            AbstractTypeVisitor7
                                                                                                                                                                              • + deprecated
                                                                                                                                                                              ElementKindVisitor7
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                ElementScanner7
                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                  SimpleAnnotationValueVisitor7
                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                    SimpleElementVisitor7
                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                      SimpleTypeVisitor7
                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                        TypeKindVisitor7
                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                          javax.lang.model
                                                                                                                                                                                            SourceVersion
                                                                                                                                                                                              • added
                                                                                                                                                                                              • added
                                                                                                                                                                                              javax.tools
                                                                                                                                                                                                StandardJavaFileManager
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                  java.desktop
                                                                                                                                                                                                    java.awt.peer
                                                                                                                                                                                                      RobotPeer
                                                                                                                                                                                                        dispose()
                                                                                                                                                                                                        • removed
                                                                                                                                                                                                        javax.swing.filechooser
                                                                                                                                                                                                          FileSystemView
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            java.naming
                                                                                                                                                                                                              javax.naming.directory
                                                                                                                                                                                                                Attribute
                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                  • added
                                                                                                                                                                                                                  javax.naming
                                                                                                                                                                                                                    Name
                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                      java.rmi
                                                                                                                                                                                                                        java.rmi.server
                                                                                                                                                                                                                          RemoteRef
                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                            ServerRef
                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                              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 13.0.2+8-adpt and 11.0.8+10-adpt. It does not make statements about compatibility.

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