RFR: JDK-8306112 Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview) [v29]

Jim Laskey jlaskey at openjdk.org
Thu Jun 1 20:07:40 UTC 2023


> Add flexible main methods and anonymous main classes to the Java language.

Jim Laskey has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 45 commits:

 - Merge branch 'master' into 8306112
 - Integrating JDK-8308913
 - Integrate JDK-8308916 and  JDK-8308831 - javax.model
 - Missing Preview feature enum
 - Restrict access to unnamed class members when doing separate compilation.
 - Merge branch 'master' into 8306112
 - Remove mandated flag
 - Remove trailing whitespace
 - Add main  tests for inferface/enum/record
 - Improving error recovery in presence of less important syntactic errors in top-level methods and fields.
   
   Author: Jan Lahoda <jlahoda at openjdk.org>
 - ... and 35 more: https://git.openjdk.org/jdk/compare/2bb19724...e39e3fe9

-------------

Changes: https://git.openjdk.org/jdk/pull/13689/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13689&range=28
  Stats: 1648 lines in 41 files changed: 1471 ins; 32 del; 145 mod
  Patch: https://git.openjdk.org/jdk/pull/13689.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13689/head:pull/13689

PR: https://git.openjdk.org/jdk/pull/13689


More information about the core-libs-dev mailing list