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

New APIs in Java 15

Comparing Java 15 (15+36-adpt) with Java 12 (12.0.2+10-adpt).

Element Modification
java.base
    java.io
      • added
      PrintStream
        • added
        • added
        java.lang.annotation
          ElementType
            • added
            java.lang.constant
              ConstantDescs
                • added
                • added
                • added
                • added
                java.lang.invoke
                  ClassSpecializer.Factory
                    ClassSpecializer.Factory(ClassSpecializer)
                    • removed
                    ConstantBootstraps
                      ConstantBootstraps()
                      • removed
                      • added
                      MethodHandles.Lookup
                        • added
                        • added
                        • added
                        • + deprecated
                        • added
                        VarHandle
                          • - final
                          • - final
                          • - final
                          • added
                          java.lang.reflect
                            Modifier
                              Modifier()
                              • removed
                              • added
                              AnnotatedType
                                • added
                                • added
                                • added
                                • added
                                java.lang
                                  • + implements Constable
                                  • added
                                  • + implements Constable
                                  • added
                                  Character.UnicodeBlock
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • added
                                    • + implements Constable
                                    • added
                                    Class
                                      • added
                                      • added
                                      • added
                                      • added
                                      • added
                                      LiveStackFrame.PrimitiveSlot
                                        LiveStackFrame.PrimitiveSlot()
                                        • removed
                                        Math
                                          • added
                                          • added
                                          NullPointerException
                                            • added
                                            • added
                                            • added
                                            Runtime
                                              traceInstructions(boolean)
                                              • removed
                                              traceMethodCalls(boolean)
                                              • removed
                                              • + implements Constable
                                              • added
                                              StrictMath
                                                • added
                                                • added
                                                • added
                                                • added
                                                • added
                                                • added
                                                • added
                                                • added
                                                String
                                                  • added
                                                  • added
                                                  • added
                                                  ThreadGroup
                                                    • + forRemoval
                                                    • + forRemoval
                                                    • + forRemoval
                                                    Thread
                                                      • + forRemoval
                                                      • + forRemoval
                                                      Character.UnicodeScript
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        • added
                                                        CharSequence
                                                          • added
                                                          java.net
                                                            MulticastSocket
                                                              • + deprecated
                                                              • + deprecated
                                                              • + deprecated
                                                              • + deprecated
                                                              • + deprecated
                                                              • + deprecated
                                                              supportedOptions()
                                                              • removed
                                                              java.nio.channels.spi
                                                                SelectorProvider
                                                                  • added
                                                                  • added
                                                                  java.nio.channels
                                                                    ServerSocketChannel
                                                                      • added
                                                                      SocketChannel
                                                                        • added
                                                                        java.nio.file
                                                                          FileSystems
                                                                            • added
                                                                            • added
                                                                            • added
                                                                            java.nio
                                                                              Buffer
                                                                                • added
                                                                                ByteBuffer
                                                                                  • added
                                                                                  • added
                                                                                  • added
                                                                                  • added
                                                                                  • added
                                                                                  CharBuffer
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    • added
                                                                                    DoubleBuffer
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      • added
                                                                                      FloatBuffer
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        IntBuffer
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          • added
                                                                                          LongBuffer
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            • added
                                                                                            MappedByteBuffer
                                                                                              • added
                                                                                              ShortBuffer
                                                                                                • added
                                                                                                • added
                                                                                                • added
                                                                                                • added
                                                                                                • added
                                                                                                java.security.acl
                                                                                                • removed
                                                                                                java.security.interfaces
                                                                                                  • added
                                                                                                  • added
                                                                                                  • added
                                                                                                  java.security.spec
                                                                                                    • added
                                                                                                    • added
                                                                                                    • added
                                                                                                    • added
                                                                                                    NamedParameterSpec
                                                                                                      • added
                                                                                                      • added
                                                                                                      java.text
                                                                                                        CompactNumberFormat
                                                                                                          • added
                                                                                                          DecimalFormatSymbols
                                                                                                            • added
                                                                                                            • added
                                                                                                            java.time.chrono
                                                                                                              JapaneseEra
                                                                                                                • added
                                                                                                                java.util.concurrent.locks
                                                                                                                  AbstractQueuedLongSynchronizer
                                                                                                                    • - protected
                                                                                                                    • + public
                                                                                                                    LockSupport
                                                                                                                      • added
                                                                                                                      java.util.jar
                                                                                                                        Pack200
                                                                                                                        • removed
                                                                                                                        Pack200.Packer
                                                                                                                        • removed
                                                                                                                        Pack200.Unpacker
                                                                                                                        • removed
                                                                                                                        java.util
                                                                                                                          HashSet
                                                                                                                            • added
                                                                                                                            • added
                                                                                                                            NoSuchElementException
                                                                                                                              • added
                                                                                                                              • added
                                                                                                                              TreeMap
                                                                                                                                • added
                                                                                                                                • added
                                                                                                                                • added
                                                                                                                                • added
                                                                                                                                • added
                                                                                                                                javax.net.ssl
                                                                                                                                  HandshakeCompletedEvent
                                                                                                                                    • + forRemoval
                                                                                                                                    SSLSession
                                                                                                                                      • - abstract
                                                                                                                                      • + forRemoval
                                                                                                                                      javax.security.cert
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        • + forRemoval
                                                                                                                                        java.compiler
                                                                                                                                          javax.annotation.processing
                                                                                                                                            ProcessingEnvironment
                                                                                                                                              • added
                                                                                                                                              javax.lang.model.element
                                                                                                                                                ElementKind
                                                                                                                                                  • added
                                                                                                                                                  • added
                                                                                                                                                  • added
                                                                                                                                                  • - final
                                                                                                                                                  • added
                                                                                                                                                  • added
                                                                                                                                                  ElementVisitor
                                                                                                                                                    • added
                                                                                                                                                    Element
                                                                                                                                                      • added
                                                                                                                                                      ExecutableElement
                                                                                                                                                        • added
                                                                                                                                                        ModuleElement
                                                                                                                                                          • added
                                                                                                                                                          PackageElement
                                                                                                                                                            • added
                                                                                                                                                            • added
                                                                                                                                                            TypeElement
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              • added
                                                                                                                                                              TypeParameterElement
                                                                                                                                                                • added
                                                                                                                                                                VariableElement
                                                                                                                                                                  • added
                                                                                                                                                                  javax.lang.model.type
                                                                                                                                                                    TypeMirror
                                                                                                                                                                      • added
                                                                                                                                                                      • added
                                                                                                                                                                      • added
                                                                                                                                                                      javax.lang.model.util
                                                                                                                                                                        • added
                                                                                                                                                                        • added
                                                                                                                                                                        AbstractElementVisitor6
                                                                                                                                                                          • added
                                                                                                                                                                          • added
                                                                                                                                                                          ElementFilter
                                                                                                                                                                            • added
                                                                                                                                                                            • added
                                                                                                                                                                            • added
                                                                                                                                                                            ElementKindVisitor6
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              • added
                                                                                                                                                                              Elements
                                                                                                                                                                                • added
                                                                                                                                                                                javax.lang.model
                                                                                                                                                                                  SourceVersion
                                                                                                                                                                                    • added
                                                                                                                                                                                    • added
                                                                                                                                                                                    • added
                                                                                                                                                                                    javax.tools
                                                                                                                                                                                      ToolProvider
                                                                                                                                                                                        • + deprecated
                                                                                                                                                                                        • + forRemoval
                                                                                                                                                                                        StandardJavaFileManager
                                                                                                                                                                                          • added
                                                                                                                                                                                          • + deprecated
                                                                                                                                                                                          java.desktop
                                                                                                                                                                                            java.awt.peer
                                                                                                                                                                                              ComponentPeer
                                                                                                                                                                                                checkImage(Image, int, int, ImageObserver)
                                                                                                                                                                                                • removed
                                                                                                                                                                                                createImage(ImageProducer)
                                                                                                                                                                                                • removed
                                                                                                                                                                                                prepareImage(Image, int, int, ImageObserver)
                                                                                                                                                                                                • removed
                                                                                                                                                                                                MenuPeer
                                                                                                                                                                                                  addSeparator()
                                                                                                                                                                                                  • removed
                                                                                                                                                                                                  RobotPeer
                                                                                                                                                                                                    dispose()
                                                                                                                                                                                                    • removed
                                                                                                                                                                                                    java.management.rmi
                                                                                                                                                                                                      javax.management.remote.rmi
                                                                                                                                                                                                        RMIConnectorServer
                                                                                                                                                                                                          CREDENTIAL_TYPES
                                                                                                                                                                                                          • removed
                                                                                                                                                                                                          java.rmi
                                                                                                                                                                                                            java.rmi.activation
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              • + forRemoval
                                                                                                                                                                                                              java.security.jgss
                                                                                                                                                                                                                javax.security.auth.kerberos
                                                                                                                                                                                                                  KerberosPrincipal
                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                    java.xml.crypto
                                                                                                                                                                                                                      javax.xml.crypto.dsig.keyinfo
                                                                                                                                                                                                                        KeyValue
                                                                                                                                                                                                                          • added
                                                                                                                                                                                                                          javax.xml.crypto.dsig
                                                                                                                                                                                                                            CanonicalizationMethod
                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                              • added
                                                                                                                                                                                                                              java.xml
                                                                                                                                                                                                                                javax.xml.parsers
                                                                                                                                                                                                                                  DocumentBuilderFactory
                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                    • added
                                                                                                                                                                                                                                    SAXParserFactory
                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                      • added
                                                                                                                                                                                                                                      Data Source

                                                                                                                                                                                                                                      This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 15+36-adpt and 12.0.2+10-adpt. It does not make statements about compatibility.

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