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

New APIs in Java 28

Comparing Java 28 (28-ea+25-2095-open) with Java 27 (27.0.1.1+4-tem).

Element Modification
java.base
    java.lang.classfile.attribute
      StackMapFrameInfo
        java.lang.classfile
          Attributes
            ClassFile
              java.lang.constant
                • + implements ConstantDescs.CallSiteBootstrapMethodHook
                bootstrapMethod()
                java.lang.invoke
                  MethodHandles
                    java.lang.reflect
                      Field
                        AccessFlag
                          ClassFileFormatVersion
                            java.lang
                              Character.UnicodeBlock
                                Class
                                  String
                                    Character.UnicodeScript
                                      java.security.cert
                                        X509Certificate
                                          java.security
                                            • - preview
                                            • - preview
                                            • - preview
                                            • - preview
                                            java.util.concurrent
                                              • - preview
                                              • - preview
                                              • - preview
                                              • - preview
                                              • - preview
                                              • - preview
                                              • - preview
                                              java.util
                                                Objects
                                                  PriorityQueue
                                                    javax.crypto
                                                      • - preview
                                                      EncryptedPrivateKeyInfo
                                                        • - preview
                                                        • - preview
                                                        • - preview
                                                        • - preview
                                                        • - preview
                                                        • - preview
                                                        • - preview
                                                        javax.net.ssl
                                                          ExtendedSSLSession
                                                            SSLEngine
                                                              SSLServerSocket
                                                                SSLSocket
                                                                  java.compiler
                                                                    javax.lang.model.element
                                                                      Modifier
                                                                        javax.lang.model
                                                                          SourceVersion
                                                                            java.management
                                                                              javax.management.openmbean
                                                                                OpenType
                                                                                  • + forRemoval

                                                                                  This report is based on simple comparison of all public and protected APIs of the Java SE packages of JDK builds 28-ea+25-2095-open and 27.0.1.1+4-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.