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

New APIs in Java 23

Comparing Java 23 (23-ea+12-893-open) with Java 22 (22+36-2370-open).

Element Modification
java.base
    java.io
      DataInputStream
        • - final
        java.lang.classfile
          ClassFile
            ClassSignature
              • added preview
              of(List, Signature.RefTypeSig,...
              • removed preview
              • added preview
              of(Signature.RefTypeSig, Signature.RefTypeSig...)
              • removed preview
              • added preview
              superclassSignature()
              • removed preview
              java.lang.reflect
                ClassFileFormatVersion
                  java.lang.runtime
                    java.lang
                      ThreadGroup
                        resume()
                        stop()
                        suspend()
                        Thread
                          resume()
                          suspend()
                          java.text
                            ChoiceFormat
                              CompactNumberFormat
                                DecimalFormat
                                  MessageFormat
                                    SimpleDateFormat
                                      java.util.zip
                                        ZipFile
                                          java.compiler
                                            javax.lang.model.util
                                              Types
                                                javax.lang.model
                                                  SourceVersion
                                                    java.desktop
                                                      javax.swing.plaf.synth
                                                        SynthTreeUI
                                                          javax.swing
                                                            JScrollBar
                                                              • added
                                                              • added
                                                              java.management
                                                                javax.management.loading
                                                                  MLetContent
                                                                  MLet
                                                                  PrivateMLet
                                                                  MLetMBean

                                                                  This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 23-ea+12-893-open and 22+36-2370-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.

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