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

Jim Laskey jlaskey at openjdk.org
Tue Nov 21 17:52:49 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:

  Update Class.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16461/files
  - new: https://git.openjdk.org/jdk/pull/16461/files/b14c6a54..fd0c92f8

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

  Stats: 34 lines in 1 file changed: 9 ins; 17 del; 8 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