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

New APIs in Java 13

Comparing Java 13 (13.0.2+8-adpt) with Java 11 (11.0.25+9-tem).

Element Modification
java.base
    java.io
      FileInputStream
        finalize()
        FileOutputStream
          finalize()
          InputStream
            java.lang.invoke
              • + implements Constable
              • + implements Constable
              • + implements TypeDescriptor.OfMethod
              • + implements Constable
              java.lang.reflect
                UndeclaredThrowableException
                  getCause()
                  • removed
                  java.lang
                    Character.UnicodeBlock
                      ClassNotFoundException
                        getCause()
                        • removed
                        • + implements Constable
                        • + implements TypeDescriptor.OfField
                        • + implements Constable
                        • + implements ConstantDesc
                        • + implements Constable
                        ExceptionInInitializerError
                          getCause()
                          • removed
                          • + implements Constable
                          • + implements ConstantDesc
                          • + implements Constable
                          • + implements ConstantDesc
                          • + implements Constable
                          • + implements ConstantDesc
                          Runtime
                            traceInstructions(boolean)
                            traceMethodCalls(boolean)
                            • + implements Constable
                            • + implements ConstantDesc
                            Character.UnicodeScript
                              java.net
                                SecureCacheResponse
                                  ServerSocket
                                    java.nio.file
                                      FileSystems
                                        Files
                                          java.nio
                                            Buffer
                                              ByteBuffer
                                                CharBuffer
                                                  DoubleBuffer
                                                    FloatBuffer
                                                      IntBuffer
                                                        LongBuffer
                                                          MappedByteBuffer
                                                            ShortBuffer
                                                              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
                                                                                              java.text
                                                                                                NumberFormat.Field
                                                                                                  NumberFormat
                                                                                                    java.time.chrono
                                                                                                      JapaneseEra
                                                                                                        java.util.concurrent
                                                                                                          CompletableFuture
                                                                                                            CompletionStage
                                                                                                              java.util.stream
                                                                                                                Collectors
                                                                                                                  java.util.zip
                                                                                                                    Deflater
                                                                                                                      finalize()
                                                                                                                      Inflater
                                                                                                                        finalize()
                                                                                                                        ZipFile
                                                                                                                          finalize()
                                                                                                                          javax.crypto.interfaces
                                                                                                                            DHPrivateKey
                                                                                                                              • + deprecated
                                                                                                                              DHPublicKey
                                                                                                                                • + deprecated
                                                                                                                                PBEKey
                                                                                                                                  • + deprecated
                                                                                                                                  javax.crypto
                                                                                                                                    Cipher
                                                                                                                                      SecretKey
                                                                                                                                        • + deprecated
                                                                                                                                        javax.net.ssl
                                                                                                                                          HandshakeCompletedEvent
                                                                                                                                            • + forRemoval
                                                                                                                                            HttpsURLConnection
                                                                                                                                              SSLSession
                                                                                                                                                • + forRemoval
                                                                                                                                                javax.security.cert
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  • + forRemoval
                                                                                                                                                  java.compiler
                                                                                                                                                    javax.annotation.processing
                                                                                                                                                      ProcessingEnvironment
                                                                                                                                                        javax.lang.model.element
                                                                                                                                                          ExecutableElement
                                                                                                                                                            ModuleElement
                                                                                                                                                              PackageElement
                                                                                                                                                                TypeElement
                                                                                                                                                                  TypeParameterElement
                                                                                                                                                                    VariableElement
                                                                                                                                                                      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
                                                                                                                                                                                              javax.tools
                                                                                                                                                                                                StandardJavaFileManager
                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                  java.desktop
                                                                                                                                                                                                    java.awt.peer
                                                                                                                                                                                                      RobotPeer
                                                                                                                                                                                                        useAbsoluteCoordinates()
                                                                                                                                                                                                        • removed
                                                                                                                                                                                                        javax.swing.filechooser
                                                                                                                                                                                                          FileSystemView
                                                                                                                                                                                                            javax.swing.plaf.basic
                                                                                                                                                                                                              BasicRadioButtonUI
                                                                                                                                                                                                                • added
                                                                                                                                                                                                                • added
                                                                                                                                                                                                                javax.swing
                                                                                                                                                                                                                  JPasswordField
                                                                                                                                                                                                                    setText(String)
                                                                                                                                                                                                                    • removed
                                                                                                                                                                                                                    java.naming
                                                                                                                                                                                                                      javax.naming.directory
                                                                                                                                                                                                                        Attribute
                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                          javax.naming
                                                                                                                                                                                                                            Name
                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                              java.rmi
                                                                                                                                                                                                                                java.rmi.server
                                                                                                                                                                                                                                  RemoteRef
                                                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                                                    ServerRef
                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                      java.security.jgss
                                                                                                                                                                                                                                        javax.security.auth.kerberos
                                                                                                                                                                                                                                          KerberosPrincipal
                                                                                                                                                                                                                                            java.xml.crypto
                                                                                                                                                                                                                                              javax.xml.crypto.dsig.keyinfo
                                                                                                                                                                                                                                                KeyValue
                                                                                                                                                                                                                                                  javax.xml.crypto.dsig
                                                                                                                                                                                                                                                    CanonicalizationMethod
                                                                                                                                                                                                                                                      java.xml
                                                                                                                                                                                                                                                        javax.xml.parsers
                                                                                                                                                                                                                                                          DocumentBuilderFactory
                                                                                                                                                                                                                                                            SAXParserFactory

                                                                                                                                                                                                                                                              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.25+9-tem. 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.