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

New APIs in Java 25

Comparing Java 25 (25-ea+19-2255-open) with Java 24 (24.0.1+9-30-open).

Element Modification
java.base
    java.io
      • + deprecated
      • + forRemoval
      • + final
      • + deprecated
      • + forRemoval
      java.lang.classfile.attribute
        • + implements CodeElement
        java.lang.classfile
          ClassFile
            java.lang.constant
              • + final
              java.lang.invoke
                • + final
                • + final
                java.lang.module
                  • + final
                  java.lang.reflect
                    • + final
                    • + deprecated
                    • + forRemoval
                    ClassFileFormatVersion
                      java.lang.runtime
                        • + final
                        • + final
                        java.lang
                          • + final
                          • + deprecated
                          • + forRemoval
                          • + final
                          java.net
                            • + final
                            • + final
                            • + final
                            java.nio.charset
                              • + final
                              • + final
                              java.nio.file
                                • + deprecated
                                • + forRemoval
                                java.security
                                  • + final
                                  • + deprecated
                                  • + forRemoval
                                  • + deprecated
                                  • + forRemoval
                                  java.util.concurrent.locks
                                    • + final
                                    java.util.concurrent
                                      • + final
                                      • + implements ScheduledExecutorService
                                      java.util.zip
                                        • + implements AutoCloseable
                                        • + implements AutoCloseable
                                        java.util
                                          • + final
                                          • + final
                                          Currency
                                            • + final
                                            • + deprecated
                                            • + forRemoval
                                            TimeZone
                                              javax.net.ssl
                                                • + deprecated
                                                • + forRemoval
                                                javax.security.auth
                                                  • + deprecated
                                                  • + forRemoval
                                                  • + deprecated
                                                  • + forRemoval
                                                  java.compiler
                                                    javax.lang.model
                                                      SourceVersion
                                                        java.desktop
                                                          javax.swing.plaf.basic
                                                            BasicSliderUI
                                                              BasicSliderUI()
                                                              javax.swing.plaf.synth
                                                                SynthLookAndFeel
                                                                  load(URL)
                                                                  java.logging
                                                                    java.util.logging
                                                                      • + deprecated
                                                                      • + forRemoval
                                                                      java.management
                                                                        java.lang.management
                                                                          • + deprecated
                                                                          • + forRemoval
                                                                          javax.management.modelmbean
                                                                            DescriptorSupport
                                                                              • + deprecated
                                                                              • + forRemoval
                                                                              • + deprecated
                                                                              • + forRemoval
                                                                              • + deprecated
                                                                              • + forRemoval
                                                                              javax.management.remote
                                                                                • + deprecated
                                                                                • + forRemoval
                                                                                javax.management
                                                                                  • + deprecated
                                                                                  • + forRemoval
                                                                                  • + deprecated
                                                                                  • + forRemoval
                                                                                  • + deprecated
                                                                                  • + forRemoval
                                                                                  java.net.http
                                                                                    java.net.http
                                                                                      HttpResponse.BodyHandlers
                                                                                        HttpResponse.BodySubscribers
                                                                                          HttpResponse
                                                                                            java.security.jgss
                                                                                              javax.security.auth.kerberos
                                                                                                • + deprecated
                                                                                                • + forRemoval
                                                                                                • + deprecated
                                                                                                • + forRemoval
                                                                                                java.xml.crypto
                                                                                                  javax.xml.crypto.dsig
                                                                                                    SignatureMethod

                                                                                                      This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 25-ea+19-2255-open and 24.0.1+9-30-open. 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.