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

New APIs in Java 27

Comparing Java 27 (27-ea+7-596-open) with Java 26 (26-ea+33-2879-open).

Element Modification
java.base
    java.lang.classfile.instruction
      IncrementInstruction
        • added
        java.lang.classfile
          ClassFile
            java.lang.foreign
              MemorySegment
                • added
                • added
                SegmentAllocator
                  • added
                  java.lang.reflect
                    ClassFileFormatVersion
                      java.util.concurrent
                        ThreadPoolExecutor
                          finalize()
                          java.util
                            EnumSet
                              java.compiler
                                javax.lang.model
                                  SourceVersion

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