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

New APIs in Java 18

Comparing Java 18 (18-ea+8-350-open) with Java 17 (17-ea+33-2705-open).

Element Modification
java.base
    java.lang
      Math
        • added
        • added
        • added
        StrictMath
          • added
          • added
          • added
          java.time
            Duration
              • added
              java.compiler
                javax.lang.model
                  SourceVersion
                    • added
                    Data Source

                    This report is based on simple comparison of all public and protected APIs of the java.* and javax.* packages of JDK builds 18-ea+8-350-open and 17-ea+33-2705-open. It does not make statements about compatibility.

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