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 10 (10.0.2-open).

Element Modification
java.activation
  • removed
java.base
    java.io
      ByteArrayInputStream
        • added
        • added
        • added
        ByteArrayOutputStream
          • added
          FileInputStream
            finalize()
            • removed
            FileOutputStream
              finalize()
              • removed
              FileReader
                • added
                • added
                FileWriter
                  • added
                  • added
                  • added
                  • added
                  InputStream
                    • added
                    • added
                    • added
                    OutputStream
                      • added
                      Reader
                        • added
                        Writer
                          • added
                          • added
                          java.lang.invoke
                            • added
                            • + implements Constable
                            • added
                            • + implements TypeDescriptor.OfMethod
                            • + implements Constable
                            • added
                            • added
                            • added
                            • + implements Constable
                            • added
                            • added
                            • added
                            • added
                            • added
                            java.lang.ref
                              Reference
                                • 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
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        • added
                                        Character
                                          • added
                                          ClassNotFoundException
                                            getCause()
                                            • removed
                                            • + implements TypeDescriptor.OfField
                                            • + implements Constable
                                            • added
                                            • added
                                            • added
                                            • 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
                                                runFinalizersOnExit(boolean)
                                                • removed
                                                traceInstructions(boolean)
                                                • removed
                                                traceMethodCalls(boolean)
                                                • removed
                                                SecurityManager
                                                  checkAwtEventQueueAccess()
                                                  • removed
                                                  checkMemberAccess(Class, int)
                                                  • removed
                                                  checkSystemClipboardAccess()
                                                  • removed
                                                  checkTopLevelWindow(Object)
                                                  • removed
                                                  • + implements Comparable
                                                  • added
                                                  • + implements Comparable
                                                  • added
                                                  • + implements ConstantDesc
                                                  • + implements Constable
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  • added
                                                  System
                                                    runFinalizersOnExit(boolean)
                                                    • removed
                                                    Thread
                                                      destroy()
                                                      • removed
                                                      stop(Throwable)
                                                      • removed
                                                      Character.UnicodeScript
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        CharSequence
                                                          • added
                                                          java.net
                                                            SecureCacheResponse
                                                              • added
                                                              ServerSocket
                                                                • added
                                                                java.nio.channels
                                                                  SelectionKey
                                                                    • added
                                                                    • added
                                                                    Selector
                                                                      • added
                                                                      • added
                                                                      • added
                                                                      java.nio.file
                                                                        FileSystems
                                                                          • added
                                                                          • added
                                                                          • added
                                                                          Files
                                                                            • added
                                                                            • added
                                                                            • added
                                                                            • added
                                                                            • added
                                                                            Path
                                                                              • added
                                                                              • added
                                                                              java.nio
                                                                                Buffer
                                                                                  • added
                                                                                  ByteBuffer
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    CharBuffer
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      DoubleBuffer
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        FloatBuffer
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          IntBuffer
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            LongBuffer
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              • added
                                                                                              MappedByteBuffer
                                                                                                • added
                                                                                                ShortBuffer
                                                                                                  • added
                                                                                                  • added
                                                                                                  • added
                                                                                                  • added
                                                                                                  • added
                                                                                                  • added
                                                                                                  java.security.interfaces
                                                                                                    DSAPrivateKey
                                                                                                      • + deprecated
                                                                                                      DSAPublicKey
                                                                                                        • + deprecated
                                                                                                        ECPrivateKey
                                                                                                          • + deprecated
                                                                                                          ECPublicKey
                                                                                                            • + deprecated
                                                                                                            RSAKey
                                                                                                              • added
                                                                                                              RSAMultiPrimePrivateCrtKey
                                                                                                                • + deprecated
                                                                                                                RSAPrivateCrtKey
                                                                                                                  • + deprecated
                                                                                                                  RSAPrivateKey
                                                                                                                    • + deprecated
                                                                                                                    RSAPublicKey
                                                                                                                      • + deprecated
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      • added
                                                                                                                      java.security.spec
                                                                                                                        • - implements AlgorithmParameterSpec
                                                                                                                        • - extends Object
                                                                                                                        • + extends NamedParameterSpec
                                                                                                                        getName()
                                                                                                                        • removed
                                                                                                                        MGF1ParameterSpec
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          PSSParameterSpec
                                                                                                                            • added
                                                                                                                            • added
                                                                                                                            RSAKeyGenParameterSpec
                                                                                                                              • added
                                                                                                                              • added
                                                                                                                              RSAMultiPrimePrivateCrtKeySpec
                                                                                                                                • added
                                                                                                                                RSAPrivateCrtKeySpec
                                                                                                                                  • added
                                                                                                                                  RSAPrivateKeySpec
                                                                                                                                    • added
                                                                                                                                    • added
                                                                                                                                    RSAPublicKeySpec
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      • added
                                                                                                                                      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
                                                                                                                                                                  PriorityBlockingQueue
                                                                                                                                                                    • added
                                                                                                                                                                    • added
                                                                                                                                                                    • added
                                                                                                                                                                    • added
                                                                                                                                                                    TimeUnit
                                                                                                                                                                      • added
                                                                                                                                                                      CompletionStage
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        java.util.function
                                                                                                                                                                          Predicate
                                                                                                                                                                            • added
                                                                                                                                                                            java.util.jar
                                                                                                                                                                              • + forRemoval
                                                                                                                                                                              • + forRemoval
                                                                                                                                                                              • + forRemoval
                                                                                                                                                                              java.util.regex
                                                                                                                                                                                Pattern
                                                                                                                                                                                  • added
                                                                                                                                                                                  java.util.stream
                                                                                                                                                                                    Collectors
                                                                                                                                                                                      • added
                                                                                                                                                                                      java.util.zip
                                                                                                                                                                                        Deflater
                                                                                                                                                                                          • added
                                                                                                                                                                                          • added
                                                                                                                                                                                          finalize()
                                                                                                                                                                                          • removed
                                                                                                                                                                                          • added
                                                                                                                                                                                          • added
                                                                                                                                                                                          Inflater
                                                                                                                                                                                            finalize()
                                                                                                                                                                                            • removed
                                                                                                                                                                                            • added
                                                                                                                                                                                            • added
                                                                                                                                                                                            • added
                                                                                                                                                                                            ZipFile
                                                                                                                                                                                              finalize()
                                                                                                                                                                                              • removed
                                                                                                                                                                                              java.util
                                                                                                                                                                                                ArrayList
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  • added
                                                                                                                                                                                                  OptionalDouble
                                                                                                                                                                                                    • added
                                                                                                                                                                                                    OptionalInt
                                                                                                                                                                                                      • added
                                                                                                                                                                                                      OptionalLong
                                                                                                                                                                                                        • added
                                                                                                                                                                                                        Optional
                                                                                                                                                                                                          • added
                                                                                                                                                                                                          PriorityQueue
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            • added
                                                                                                                                                                                                            Collection
                                                                                                                                                                                                              • added
                                                                                                                                                                                                              javax.crypto.interfaces
                                                                                                                                                                                                                DHPrivateKey
                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                  DHPublicKey
                                                                                                                                                                                                                    • + deprecated
                                                                                                                                                                                                                    PBEKey
                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                      javax.crypto.spec
                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                        javax.crypto
                                                                                                                                                                                                                          Cipher
                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                            SecretKey
                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                              javax.net.ssl
                                                                                                                                                                                                                                HandshakeCompletedEvent
                                                                                                                                                                                                                                  • + forRemoval
                                                                                                                                                                                                                                  HttpsURLConnection
                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                    SSLSession
                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                      javax.security.auth
                                                                                                                                                                                                                                        Policy
                                                                                                                                                                                                                                        • removed
                                                                                                                                                                                                                                        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
                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                      javax.tools
                                                                                                                                                                                                                                                                                        StandardJavaFileManager
                                                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                          java.corba
                                                                                                                                                                                                                                                                                          • removed
                                                                                                                                                                                                                                                                                          java.desktop
                                                                                                                                                                                                                                                                                            java.awt.peer
                                                                                                                                                                                                                                                                                              RobotPeer
                                                                                                                                                                                                                                                                                                dispose()
                                                                                                                                                                                                                                                                                                • removed
                                                                                                                                                                                                                                                                                                java.awt
                                                                                                                                                                                                                                                                                                  • + implements Serializable
                                                                                                                                                                                                                                                                                                  • + implements Serializable
                                                                                                                                                                                                                                                                                                  • + implements Serializable
                                                                                                                                                                                                                                                                                                  javax.print.attribute.standard
                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                    javax.swing.filechooser
                                                                                                                                                                                                                                                                                                      FileSystemView
                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                        javax.swing
                                                                                                                                                                                                                                                                                                          DefaultComboBoxModel
                                                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                                                            • added
                                                                                                                                                                                                                                                                                                            DefaultListModel
                                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                                                                                                              ListSelectionModel
                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                java.naming
                                                                                                                                                                                                                                                                                                                  javax.naming.directory
                                                                                                                                                                                                                                                                                                                    Attribute
                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                      javax.naming
                                                                                                                                                                                                                                                                                                                        Name
                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                                                                                          java.rmi
                                                                                                                                                                                                                                                                                                                            java.rmi.server
                                                                                                                                                                                                                                                                                                                              RemoteRef
                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                ServerRef
                                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                                  java.security.jgss
                                                                                                                                                                                                                                                                                                                                    javax.security.auth.kerberos
                                                                                                                                                                                                                                                                                                                                      KerberosPrincipal
                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                        java.sql
                                                                                                                                                                                                                                                                                                                                          javax.transaction.xa
                                                                                                                                                                                                                                                                                                                                          • removed
                                                                                                                                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                                                                                                                                          java.transaction
                                                                                                                                                                                                                                                                                                                                          • removed
                                                                                                                                                                                                                                                                                                                                          java.xml.bind
                                                                                                                                                                                                                                                                                                                                          • removed
                                                                                                                                                                                                                                                                                                                                          java.xml.crypto
                                                                                                                                                                                                                                                                                                                                            javax.xml.crypto.dsig.keyinfo
                                                                                                                                                                                                                                                                                                                                              KeyValue
                                                                                                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                                                                                                javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                                                                  CanonicalizationMethod
                                                                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                                                                                    DigestMethod
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                                                                                                                                      SignatureMethod
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                        java.xml.ws.annotation
                                                                                                                                                                                                                                                                                                                                                        • removed
                                                                                                                                                                                                                                                                                                                                                        java.xml.ws
                                                                                                                                                                                                                                                                                                                                                        • removed
                                                                                                                                                                                                                                                                                                                                                        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 10.0.2-open. It does not make statements about compatibility.

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