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

New APIs in Java 15

Comparing Java 15 (15.0.1+9-adpt) with Java 14 (14.0.2+12-adpt).

Element Modification
java.base
    java.lang.constant
      ConstantDescs
        • added
        • added
        • added
        • added
        java.lang.invoke
          ConstantBootstraps
            ConstantBootstraps()
            • removed
            • added
            MethodHandles.Lookup
              • added
              • added
              VarHandle
                • - final
                • - final
                • - final
                • added
                java.lang.reflect
                  Modifier
                    Modifier()
                    • removed
                    AnnotatedType
                      • 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
                            Math
                              • added
                              • added
                              NullPointerException
                                • added
                                • + implements Constable
                                • added
                                StrictMath
                                  • added
                                  • added
                                  Character.UnicodeScript
                                    • added
                                    • added
                                    • added
                                    • added
                                    CharSequence
                                      • added
                                      java.net
                                        MulticastSocket
                                          supportedOptions()
                                          • removed
                                          java.nio.channels.spi
                                            SelectorProvider
                                              • added
                                              • added
                                              java.nio.channels
                                                ServerSocketChannel
                                                  • added
                                                  SocketChannel
                                                    • added
                                                    java.nio
                                                      CharBuffer
                                                        • added
                                                        java.security.interfaces
                                                          • added
                                                          • added
                                                          • added
                                                          java.security.spec
                                                            • added
                                                            • added
                                                            • added
                                                            • added
                                                            NamedParameterSpec
                                                              • added
                                                              • added
                                                              java.text
                                                                DecimalFormatSymbols
                                                                  • added
                                                                  • added
                                                                  java.util
                                                                    NoSuchElementException
                                                                      • added
                                                                      • added
                                                                      TreeMap
                                                                        • added
                                                                        • added
                                                                        • added
                                                                        • added
                                                                        • added
                                                                        javax.net.ssl
                                                                          SSLSession
                                                                            • - abstract
                                                                            java.compiler
                                                                              javax.lang.model.element
                                                                                • - final
                                                                                • added
                                                                                • added
                                                                                Element
                                                                                  • added
                                                                                  TypeElement
                                                                                    • added
                                                                                    javax.lang.model.type
                                                                                      TypeMirror
                                                                                        • added
                                                                                        • added
                                                                                        • added
                                                                                        javax.lang.model
                                                                                          SourceVersion
                                                                                            • added
                                                                                            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.0.1+9-adpt and 14.0.2+12-adpt. It does not make statements about compatibility.

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