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

New APIs in Java 28

Comparing Java 28 (28-ea+10-569-open) with Java 27 (27-ea+34-2321-open).

Element Modification
java.base
    java.lang.classfile.attribute
      StackMapFrameInfo
        java.lang.classfile
          Attributes
            ClassFile
              java.lang.reflect
                Field
                  AccessFlag
                    ClassFileFormatVersion
                      java.lang
                        Class
                          java.util
                            Objects
                              PriorityQueue
                                java.compiler
                                  javax.lang.model.element
                                    Modifier
                                      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 28-ea+10-569-open and 27-ea+34-2321-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.