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

New APIs in Java 27

Comparing Java 27 (27-ea+24-2138-open) with Java 26 (26.0.1+8-tem).

Element Modification
java.base
    java.lang.classfile.instruction
      IncrementInstruction
        java.lang.classfile
          ClassFile
            java.lang.foreign
              MemorySegment
                SegmentAllocator
                  java.lang.reflect
                    Executable
                      • - abstract
                      Modifier
                        • + deprecated
                        • + deprecated
                        • + deprecated
                        • + deprecated
                        • + deprecated
                        • + deprecated
                        • + deprecated
                        ClassFileFormatVersion
                          java.lang
                            Math
                              StrictMath
                                String
                                  LazyConstant
                                    isInitialized()
                                    orElse(Object)
                                    java.math
                                      BigDecimal
                                        java.security
                                          KeyStoreSpi
                                            KeyStore
                                              java.time.format
                                                java.util.concurrent
                                                  StructuredTaskScope.FailedException
                                                  StructuredTaskScope.TimeoutException
                                                  ThreadPoolExecutor
                                                    finalize()
                                                    StructuredTaskScope.Joiner
                                                      awaitAll()
                                                      onTimeout()
                                                      StructuredTaskScope
                                                        • + throws Throwable
                                                        java.util
                                                          EnumSet
                                                            Locale
                                                              • - final
                                                              • - final
                                                              • - final
                                                              • - final
                                                              Set
                                                                java.compiler
                                                                  javax.lang.model
                                                                    SourceVersion
                                                                      java.desktop
                                                                        java.awt.geom
                                                                          Arc2D
                                                                            javax.swing
                                                                              JEditorPane.JEditorPaneAccessibleHypertextSupport

                                                                                This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 27-ea+24-2138-open and 26.0.1+8-tem. 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.