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

New APIs in Java 26

Comparing Java 26 (26-ea+7-697-open) with Java 25 (25-ea+32-3464-open).

Element Modification
java.base
    java.lang.classfile
      ClassFile
        java.lang.reflect
          ClassFileFormatVersion
            java.net
              DatagramSocketImpl
                getTTL()
                setTTL(byte)
                MulticastSocket
                  getTTL()
                  send(DatagramPacket, byte)
                  setTTL(byte)
                  java.security
                    SecureRandom
                      java.util
                        • - abstract
                        • + final
                        java.compiler
                          javax.lang.model
                            SourceVersion
                              java.desktop
                                java.applet
                                • removed
                                java.beans
                                  Beans
                                    instantiate(ClassLoader, String, BeanContext,...
                                    • removed
                                    AppletInitializer
                                    • removed
                                    javax.swing.plaf.synth
                                      SynthPasswordFieldUI
                                        installKeyboardActions()
                                        javax.swing
                                          JApplet.AccessibleJApplet
                                          • removed
                                          JApplet
                                          • removed
                                          RepaintManager
                                            addDirtyRegion(Applet, int, int, int, int)
                                            • removed
                                            java.management
                                              javax.management.modelmbean
                                                DescriptorSupport
                                                  DescriptorSupport(String)
                                                  • removed
                                                  toXMLString()
                                                  • removed
                                                  XMLParseException
                                                  • removed

                                                  This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 26-ea+7-697-open and 25-ea+32-3464-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.