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

New APIs in Java 15

Comparing Java 15 (15+36-adpt) with Java 13 (13.0.2+8-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
                                    • + implements Constable
                                    • added
                                    Class
                                      • added
                                      • added
                                      • added
                                      • added
                                      • added
                                      LiveStackFrame.PrimitiveSlot
                                        LiveStackFrame.PrimitiveSlot()
                                        • removed
                                        Math
                                          • added
                                          • added
                                          NullPointerException
                                            • added
                                            • added
                                            • added
                                            • + implements Constable
                                            • added
                                            StrictMath
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              • added
                                              String
                                                • - deprecated
                                                • - forRemoval
                                                • - deprecated
                                                • - forRemoval
                                                • - deprecated
                                                • - forRemoval
                                                ThreadGroup
                                                  • + forRemoval
                                                  • + forRemoval
                                                  • + forRemoval
                                                  Thread
                                                    • + forRemoval
                                                    • + forRemoval
                                                    Character.UnicodeScript
                                                      • 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
                                                                        CharBuffer
                                                                          • 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.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
                                                                                                        SSLSession
                                                                                                          • - abstract
                                                                                                          java.compiler
                                                                                                            javax.lang.model.element
                                                                                                              ElementKind
                                                                                                                • added
                                                                                                                • added
                                                                                                                • added
                                                                                                                • - final
                                                                                                                • added
                                                                                                                • added
                                                                                                                ElementVisitor
                                                                                                                  • added
                                                                                                                  Element
                                                                                                                    • added
                                                                                                                    • added
                                                                                                                    TypeElement
                                                                                                                      • added
                                                                                                                      • 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
                                                                                                                                        javax.tools
                                                                                                                                          ToolProvider
                                                                                                                                            • + deprecated
                                                                                                                                            • + forRemoval
                                                                                                                                            java.desktop
                                                                                                                                              java.awt.peer
                                                                                                                                                ComponentPeer
                                                                                                                                                  checkImage(Image, int, int, ImageObserver)
                                                                                                                                                  • removed
                                                                                                                                                  createImage(ImageProducer)
                                                                                                                                                  • removed
                                                                                                                                                  prepareImage(Image, int, int, ImageObserver)
                                                                                                                                                  • removed
                                                                                                                                                  MenuPeer
                                                                                                                                                    addSeparator()
                                                                                                                                                    • 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
                                                                                                                                                              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 13.0.2+8-adpt. It does not make statements about compatibility.

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