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

New APIs in Java 15

Comparing Java 15 (15.0.2+7-adpt) with Java 13 (13.0.2+8-adpt).

Element Modification
java.base
    java.io
      PrintStream
        java.lang.annotation
          ElementType
            java.lang.constant
              ConstantDescs
                java.lang.invoke
                  ClassSpecializer.Factory
                    Factory(ClassSpecializer)
                    • removed
                    ConstantBootstraps
                      ConstantBootstraps()
                      MethodHandles.Lookup
                        • + deprecated
                        VarHandle
                          • - final
                          • - final
                          • - final
                          java.lang.reflect
                            Modifier
                              Modifier()
                              AnnotatedType
                                • added
                                • added
                                • added
                                java.lang
                                  • + implements Constable
                                  • + implements Constable
                                  Character.UnicodeBlock
                                    • + implements Constable
                                    Class
                                      LiveStackFrame.PrimitiveSlot
                                        PrimitiveSlot()
                                        • removed
                                        Math
                                          NullPointerException
                                            • added
                                            • added
                                            • + implements Constable
                                            StrictMath
                                              String
                                                • - deprecated
                                                • - forRemoval
                                                • - deprecated
                                                • - forRemoval
                                                • - deprecated
                                                • - forRemoval
                                                ThreadGroup
                                                  • + forRemoval
                                                  • + forRemoval
                                                  • + forRemoval
                                                  Thread
                                                    • + forRemoval
                                                    • + forRemoval
                                                    Character.UnicodeScript
                                                      CharSequence
                                                        java.net
                                                          MulticastSocket
                                                            • + deprecated
                                                            • + deprecated
                                                            • + deprecated
                                                            • + deprecated
                                                            • + deprecated
                                                            • + deprecated
                                                            supportedOptions()
                                                            • removed
                                                            java.nio.channels.spi
                                                              SelectorProvider
                                                                java.nio.channels
                                                                  ServerSocketChannel
                                                                    SocketChannel
                                                                      java.nio
                                                                        CharBuffer
                                                                          java.security.acl
                                                                          java.security.interfaces
                                                                            java.security.spec
                                                                              NamedParameterSpec
                                                                                java.text
                                                                                  CompactNumberFormat
                                                                                    DecimalFormatSymbols
                                                                                      java.util.concurrent.locks
                                                                                        AbstractQueuedLongSynchronizer
                                                                                          • - protected
                                                                                          • + public
                                                                                          LockSupport
                                                                                            java.util.jar
                                                                                              Pack200
                                                                                              Pack200.Packer
                                                                                              Pack200.Unpacker
                                                                                              java.util
                                                                                                HashSet
                                                                                                  NoSuchElementException
                                                                                                    TreeMap
                                                                                                      javax.net.ssl
                                                                                                        SSLSession
                                                                                                          • - abstract
                                                                                                          java.compiler
                                                                                                            javax.lang.model.element
                                                                                                              ElementKind
                                                                                                                • - final
                                                                                                                ElementVisitor
                                                                                                                  Element
                                                                                                                    • added
                                                                                                                    TypeElement
                                                                                                                      javax.lang.model.type
                                                                                                                        TypeMirror
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          • added
                                                                                                                          javax.lang.model.util
                                                                                                                            AbstractElementVisitor6
                                                                                                                              ElementFilter
                                                                                                                                ElementKindVisitor6
                                                                                                                                  Elements
                                                                                                                                    javax.lang.model
                                                                                                                                      SourceVersion
                                                                                                                                        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
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval
                                                                                                                                                              • + deprecated
                                                                                                                                                              • + forRemoval

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