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

New APIs in Java 28

Comparing Java 28 (28-ea+15-1083-open) with Java 27 (27+35-2325-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.security
                            • - preview
                            • - preview
                            • - preview
                            • - preview
                            java.util
                              Objects
                                PriorityQueue
                                  javax.crypto
                                    • - preview
                                    EncryptedPrivateKeyInfo
                                      • - preview
                                      • - preview
                                      • - preview
                                      • - preview
                                      • - preview
                                      • - preview
                                      • - preview
                                      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+15-1083-open and 27+35-2325-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.