RFR: JDK-8315458 Implementation of Implicitly Declared Classes and Instance Main Method (Second Preview) [v6]

Jim Laskey jlaskey at openjdk.org
Thu Nov 2 15:45:26 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:

  Don't store main method info globally. Use addition calls to fetch info.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16461/files
  - new: https://git.openjdk.org/jdk/pull/16461/files/05945ebb..edbe208b

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

  Stats: 40 lines in 2 files changed: 21 ins; 10 del; 9 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 compiler-dev mailing list