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

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

                                                                                                                                                                                This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 14.0.2+12-adpt and 12.0.2+10-adpt. 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.