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

Jim Laskey jlaskey at openjdk.org
Mon Jun 5 16:11:24 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 55 commits:

 - Merge branch 'master' into 8306112
 - Final clean up
 - Merge branch 'master' into 8306112
 - Requested clean ups
 - Source code launcher to use getSimpleName() when launching unnamed class
 - Update the specification for TypeElement#getQualifiedName and TypeElement#getSimpleName
 - Use getQualifiedName() to indicate unnamed class
 - ClassSymbol#getSimpleName() returning empty name breaks some tools
 - Merge branch 'master' into 8306112
 - Update reflection to follow spec
 - ... and 45 more: https://git.openjdk.org/jdk/compare/5cd8af76...663ca88f

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

Changes: https://git.openjdk.org/jdk/pull/13689/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13689&range=33
  Stats: 1685 lines in 40 files changed: 1510 ins; 32 del; 143 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