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

New APIs in Java 14

Comparing Java 14 (14.0.2+12-adpt) with Java 9 (9.0.4-open).

Element Modification
java.activation
java.base
    java.io
      ByteArrayInputStream
        ByteArrayOutputStream
          FileInputStream
            finalize()
            FileOutputStream
              finalize()
              FileReader
                FileWriter
                  InputStream
                    OutputStream
                      PrintStream
                        PrintWriter
                          Reader
                            Writer
                              java.lang.annotation
                                ElementType
                                  java.lang.invoke
                                    • + implements Constable
                                    MethodHandles.Lookup
                                      • + deprecated
                                      • + implements Constable
                                      • + implements TypeDescriptor.OfMethod
                                      • + implements Constable
                                      java.lang.ref
                                        Reference
                                          java.lang.reflect
                                            MalformedParameterizedTypeException
                                              Modifier
                                                • + deprecated
                                                • + forRemoval
                                                UndeclaredThrowableException
                                                  getCause()
                                                  • removed
                                                  java.lang
                                                    Character.UnicodeBlock
                                                      Character
                                                        ClassNotFoundException
                                                          getCause()
                                                          • removed
                                                          • + implements Constable
                                                          • + implements TypeDescriptor.OfField
                                                          • + implements Constable
                                                          • + implements ConstantDesc
                                                          • + implements Constable
                                                          ExceptionInInitializerError
                                                            getCause()
                                                            • removed
                                                            • + implements Constable
                                                            • + implements ConstantDesc
                                                            • + implements Constable
                                                            • + implements ConstantDesc
                                                            • + implements Constable
                                                            • + implements ConstantDesc
                                                            NullPointerException
                                                              • added
                                                              Runtime.Version
                                                                • + deprecated
                                                                • + deprecated
                                                                • + deprecated
                                                                Runtime
                                                                  getLocalizedInputStream(InputStream)
                                                                  getLocalizedOutputStream(OutputStream)
                                                                  runFinalizersOnExit(boolean)
                                                                  traceInstructions(boolean)
                                                                  traceMethodCalls(boolean)
                                                                  SecurityManager
                                                                    inCheck
                                                                    checkAwtEventQueueAccess()
                                                                    checkMemberAccess(Class, int)
                                                                    checkSystemClipboardAccess()
                                                                    checkTopLevelWindow(Object)
                                                                    classDepth(String)
                                                                    classLoaderDepth()
                                                                    currentClassLoader()
                                                                    currentLoadedClass()
                                                                    getInCheck()
                                                                    inClass(String)
                                                                    inClassLoader()
                                                                    StrictMath
                                                                      • + implements Comparable
                                                                      • + implements Comparable
                                                                      • + implements Constable
                                                                      • + implements ConstantDesc
                                                                      System
                                                                        runFinalizersOnExit(boolean)
                                                                        ThreadGroup
                                                                          • + forRemoval
                                                                          • + forRemoval
                                                                          • + forRemoval
                                                                          Thread
                                                                            destroy()
                                                                            • + forRemoval
                                                                            stop(Throwable)
                                                                            • + forRemoval
                                                                            Character.UnicodeScript
                                                                              CharSequence
                                                                                StackWalker.StackFrame
                                                                                  java.net
                                                                                    MulticastSocket
                                                                                      • + deprecated
                                                                                      • + deprecated
                                                                                      • + deprecated
                                                                                      • + deprecated
                                                                                      • + deprecated
                                                                                      • + deprecated
                                                                                      SecureCacheResponse
                                                                                        ServerSocket
                                                                                          URLDecoder
                                                                                            URLEncoder
                                                                                              java.nio.channels
                                                                                                Channels
                                                                                                  SelectionKey
                                                                                                    Selector
                                                                                                      java.nio.file
                                                                                                        FileStore
                                                                                                          FileSystems
                                                                                                            Files
                                                                                                              Path
                                                                                                                java.nio
                                                                                                                  Buffer
                                                                                                                    ByteBuffer
                                                                                                                      CharBuffer
                                                                                                                        DoubleBuffer
                                                                                                                          FloatBuffer
                                                                                                                            IntBuffer
                                                                                                                              LongBuffer
                                                                                                                                MappedByteBuffer
                                                                                                                                  ShortBuffer
                                                                                                                                    java.security.acl
                                                                                                                                    java.security.interfaces
                                                                                                                                      DSAPrivateKey
                                                                                                                                        • + deprecated
                                                                                                                                        DSAPublicKey
                                                                                                                                          • + deprecated
                                                                                                                                          ECPrivateKey
                                                                                                                                            • + deprecated
                                                                                                                                            ECPublicKey
                                                                                                                                              • + deprecated
                                                                                                                                              RSAKey
                                                                                                                                                RSAMultiPrimePrivateCrtKey
                                                                                                                                                  • + deprecated
                                                                                                                                                  RSAPrivateCrtKey
                                                                                                                                                    • + deprecated
                                                                                                                                                    RSAPrivateKey
                                                                                                                                                      • + deprecated
                                                                                                                                                      RSAPublicKey
                                                                                                                                                        • + deprecated
                                                                                                                                                        java.security.spec
                                                                                                                                                          • - extends Object
                                                                                                                                                          • - implements AlgorithmParameterSpec
                                                                                                                                                          • + extends NamedParameterSpec
                                                                                                                                                          getName()
                                                                                                                                                          MGF1ParameterSpec
                                                                                                                                                            PSSParameterSpec
                                                                                                                                                              RSAKeyGenParameterSpec
                                                                                                                                                                RSAMultiPrimePrivateCrtKeySpec
                                                                                                                                                                  RSAPrivateCrtKeySpec
                                                                                                                                                                    RSAPrivateKeySpec
                                                                                                                                                                      RSAPublicKeySpec
                                                                                                                                                                        java.security
                                                                                                                                                                          • + forRemoval
                                                                                                                                                                          • + forRemoval
                                                                                                                                                                          PrivilegedActionException
                                                                                                                                                                            getCause()
                                                                                                                                                                            • removed
                                                                                                                                                                            • + forRemoval
                                                                                                                                                                            • + forRemoval
                                                                                                                                                                            Key
                                                                                                                                                                              • + deprecated
                                                                                                                                                                              PrivateKey
                                                                                                                                                                                • + deprecated
                                                                                                                                                                                PublicKey
                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                  java.text.spi
                                                                                                                                                                                    NumberFormatProvider
                                                                                                                                                                                      java.text
                                                                                                                                                                                        NumberFormat.Field
                                                                                                                                                                                          NumberFormat
                                                                                                                                                                                            java.time.chrono
                                                                                                                                                                                              JapaneseEra
                                                                                                                                                                                                HijrahEra
                                                                                                                                                                                                  MinguoEra
                                                                                                                                                                                                    ThaiBuddhistEra
                                                                                                                                                                                                      java.time.format
                                                                                                                                                                                                        DateTimeFormatter
                                                                                                                                                                                                          java.util.concurrent.locks
                                                                                                                                                                                                            AbstractQueuedLongSynchronizer
                                                                                                                                                                                                              • - protected
                                                                                                                                                                                                              • + public
                                                                                                                                                                                                              LockSupport
                                                                                                                                                                                                                StampedLock
                                                                                                                                                                                                                  java.util.concurrent
                                                                                                                                                                                                                    CompletableFuture
                                                                                                                                                                                                                      FutureTask
                                                                                                                                                                                                                        PriorityBlockingQueue
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          TimeUnit
                                                                                                                                                                                                                            CompletionStage
                                                                                                                                                                                                                              java.util.function
                                                                                                                                                                                                                                Predicate
                                                                                                                                                                                                                                  java.util.jar
                                                                                                                                                                                                                                    JarEntry
                                                                                                                                                                                                                                      JarFile
                                                                                                                                                                                                                                        Pack200
                                                                                                                                                                                                                                        Pack200.Packer
                                                                                                                                                                                                                                        Pack200.Unpacker
                                                                                                                                                                                                                                        java.util.regex
                                                                                                                                                                                                                                          Pattern
                                                                                                                                                                                                                                            java.util.spi
                                                                                                                                                                                                                                              LocaleNameProvider
                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                java.util.stream
                                                                                                                                                                                                                                                  Collectors
                                                                                                                                                                                                                                                    java.util.zip
                                                                                                                                                                                                                                                      Deflater
                                                                                                                                                                                                                                                        finalize()
                                                                                                                                                                                                                                                        Inflater
                                                                                                                                                                                                                                                          finalize()
                                                                                                                                                                                                                                                          ZipFile
                                                                                                                                                                                                                                                            finalize()
                                                                                                                                                                                                                                                            java.util
                                                                                                                                                                                                                                                              ArrayList
                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                • added
                                                                                                                                                                                                                                                                DoubleSummaryStatistics
                                                                                                                                                                                                                                                                  Formatter
                                                                                                                                                                                                                                                                    HashSet
                                                                                                                                                                                                                                                                      IntSummaryStatistics
                                                                                                                                                                                                                                                                        LongSummaryStatistics
                                                                                                                                                                                                                                                                          OptionalDouble
                                                                                                                                                                                                                                                                            OptionalInt
                                                                                                                                                                                                                                                                              OptionalLong
                                                                                                                                                                                                                                                                                Optional
                                                                                                                                                                                                                                                                                  PriorityQueue
                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                                                                    Properties
                                                                                                                                                                                                                                                                                      Scanner
                                                                                                                                                                                                                                                                                        SplittableRandom
                                                                                                                                                                                                                                                                                          Collection
                                                                                                                                                                                                                                                                                            List
                                                                                                                                                                                                                                                                                              Map
                                                                                                                                                                                                                                                                                                Set
                                                                                                                                                                                                                                                                                                  javax.crypto.interfaces
                                                                                                                                                                                                                                                                                                    DHPrivateKey
                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                      DHPublicKey
                                                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                                                        PBEKey
                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                          javax.crypto.spec
                                                                                                                                                                                                                                                                                                            javax.crypto
                                                                                                                                                                                                                                                                                                              Cipher
                                                                                                                                                                                                                                                                                                                SecretKey
                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                  javax.net.ssl
                                                                                                                                                                                                                                                                                                                    HandshakeCompletedEvent
                                                                                                                                                                                                                                                                                                                      • + forRemoval
                                                                                                                                                                                                                                                                                                                      HttpsURLConnection
                                                                                                                                                                                                                                                                                                                        SSLSession
                                                                                                                                                                                                                                                                                                                          • + forRemoval
                                                                                                                                                                                                                                                                                                                          javax.security.auth
                                                                                                                                                                                                                                                                                                                            Policy
                                                                                                                                                                                                                                                                                                                            javax.security.cert
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                              java.compiler
                                                                                                                                                                                                                                                                                                                                javax.annotation.processing
                                                                                                                                                                                                                                                                                                                                  ProcessingEnvironment
                                                                                                                                                                                                                                                                                                                                    javax.lang.model.element
                                                                                                                                                                                                                                                                                                                                      ElementKind
                                                                                                                                                                                                                                                                                                                                        ElementVisitor
                                                                                                                                                                                                                                                                                                                                          ExecutableElement
                                                                                                                                                                                                                                                                                                                                            ModuleElement
                                                                                                                                                                                                                                                                                                                                              PackageElement
                                                                                                                                                                                                                                                                                                                                                TypeElement
                                                                                                                                                                                                                                                                                                                                                  TypeParameterElement
                                                                                                                                                                                                                                                                                                                                                    VariableElement
                                                                                                                                                                                                                                                                                                                                                      javax.lang.model.util
                                                                                                                                                                                                                                                                                                                                                        AbstractAnnotationValueVisitor7
                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                          AbstractElementVisitor6
                                                                                                                                                                                                                                                                                                                                                            AbstractElementVisitor7
                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                              AbstractTypeVisitor7
                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                ElementFilter
                                                                                                                                                                                                                                                                                                                                                                  ElementKindVisitor6
                                                                                                                                                                                                                                                                                                                                                                    ElementKindVisitor7
                                                                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                                                                      ElementScanner7
                                                                                                                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                                                                                                                        SimpleAnnotationValueVisitor7
                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                          SimpleElementVisitor7
                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                            SimpleTypeVisitor7
                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                              TypeKindVisitor6
                                                                                                                                                                                                                                                                                                                                                                                TypeKindVisitor7
                                                                                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                  TypeKindVisitor9
                                                                                                                                                                                                                                                                                                                                                                                    Elements
                                                                                                                                                                                                                                                                                                                                                                                      javax.lang.model
                                                                                                                                                                                                                                                                                                                                                                                        SourceVersion
                                                                                                                                                                                                                                                                                                                                                                                          javax.tools
                                                                                                                                                                                                                                                                                                                                                                                            ToolProvider
                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                              StandardJavaFileManager
                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                java.corba
                                                                                                                                                                                                                                                                                                                                                                                                java.desktop
                                                                                                                                                                                                                                                                                                                                                                                                  java.awt.geom
                                                                                                                                                                                                                                                                                                                                                                                                    Path2D.Double
                                                                                                                                                                                                                                                                                                                                                                                                      Path2D.Float
                                                                                                                                                                                                                                                                                                                                                                                                        Path2D
                                                                                                                                                                                                                                                                                                                                                                                                          java.awt
                                                                                                                                                                                                                                                                                                                                                                                                            • + implements Serializable
                                                                                                                                                                                                                                                                                                                                                                                                            • + implements Serializable
                                                                                                                                                                                                                                                                                                                                                                                                            • + implements Serializable
                                                                                                                                                                                                                                                                                                                                                                                                            Toolkit
                                                                                                                                                                                                                                                                                                                                                                                                              • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                              javax.print.attribute.standard
                                                                                                                                                                                                                                                                                                                                                                                                                javax.swing.filechooser
                                                                                                                                                                                                                                                                                                                                                                                                                  FileSystemView
                                                                                                                                                                                                                                                                                                                                                                                                                    javax.swing.plaf.basic
                                                                                                                                                                                                                                                                                                                                                                                                                      BasicMenuUI
                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                        javax.swing
                                                                                                                                                                                                                                                                                                                                                                                                                          DefaultComboBoxModel
                                                                                                                                                                                                                                                                                                                                                                                                                            DefaultListModel
                                                                                                                                                                                                                                                                                                                                                                                                                              ButtonModel
                                                                                                                                                                                                                                                                                                                                                                                                                                ListSelectionModel
                                                                                                                                                                                                                                                                                                                                                                                                                                  java.management.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                    javax.management.remote.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                      RMIConnectorServer
                                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                                                                                                                                                                                                                                                                        • added
                                                                                                                                                                                                                                                                                                                                                                                                                                        java.management
                                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.management
                                                                                                                                                                                                                                                                                                                                                                                                                                            RuntimeMXBean
                                                                                                                                                                                                                                                                                                                                                                                                                                              ThreadMXBean
                                                                                                                                                                                                                                                                                                                                                                                                                                                java.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                  javax.naming.directory
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Attribute
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                      javax.naming
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Name
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                          java.rmi
                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.rmi.server
                                                                                                                                                                                                                                                                                                                                                                                                                                                              RemoteRef
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                ServerRef
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.se.ee
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • removed
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.security.jgss
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    javax.security.auth.kerberos
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      KerberosPrincipal
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        org.ietf.jgss
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GSSContext
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              javax.transaction.xa
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              java.transaction
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              java.xml.bind
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              java.xml.crypto
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                javax.xml.crypto.dsig.keyinfo
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  KeyValue
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    javax.xml.crypto.dsig
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      CanonicalizationMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DigestMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          SignatureMethod
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.xml.ws.annotation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.xml.ws
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.xml
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              javax.xml.parsers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DocumentBuilderFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  SAXParserFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    javax.xml.stream
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      XMLInputFactory
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • - deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        org.xml.sax.helpers
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          org.xml.sax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + deprecated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ContentHandler
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • added

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 14.0.2+12-adpt and 9.0.4-open. It does not make statements about compatibility.

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