RFR: JDK-8315458 Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview) [v22]

Jim Laskey jlaskey at openjdk.org
Sat Nov 18 15:07:11 UTC 2023


> Address changes from JEP 445 to JEP 463.
> 
> - Move from a SYNTHETIC unnamed class to a MANDATED implicit class.
> 
> - Don't mark class on read.
> 
> - Remove reflection and annotation processing related to unnamed classes.
> 
> - Simplify main method search.

Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:

  getMainMethod

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16461/files
  - new: https://git.openjdk.org/jdk/pull/16461/files/889f3ecc..75f1e821

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16461&range=21
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16461&range=20-21

  Stats: 224 lines in 4 files changed: 55 ins; 155 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/16461.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16461/head:pull/16461

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


More information about the core-libs-dev mailing list