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

New APIs in Java 20

Comparing Java 20 (20-ea+4-158-open) with Java 19 (19-ea+29-2143-open).

Element Modification
java.base
    java.lang.module
      ModuleDescriptor.Exports
        • added
        ModuleDescriptor.Opens
          • added
          ModuleDescriptor.Requires
            • added
            ModuleDescriptor
              • added
              java.lang.reflect
                Executable
                  • added
                  • + abstract
                  Field
                    • added
                    Parameter
                      • added
                      • added
                      • added
                      Member
                        • added
                        java.lang
                          Class
                            • added
                            java.security.cert
                              CertStore
                                • - final
                                java.security.interfaces
                                  DSAKeyPairGenerator
                                    • - throws InvalidParameterException
                                    • - throws InvalidParameterException
                                    java.compiler
                                      javax.lang.model
                                        SourceVersion

                                          This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 20-ea+4-158-open and 19-ea+29-2143-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.

                                          More detailed API comparisons based on the japicmp tool can be found here.