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

Jim Laskey jlaskey at openjdk.org
Tue Nov 28 19:10:45 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 with a new target base due to a merge or a rebase. The pull request now contains 43 commits:

 - Merge remote-tracking branch 'upstream/master' into 8315458
 - Create TestImplicitClass.java
 - Update Class.java comment
 - Merge remote-tracking branch 'upstream/master' into 8315458
 - Requested changes
 - Remove Test
 - Move findMainMethod to non-public access
 - Handle javadoc on top level elements properly
 - Update Class.java
 - Update test
 - ... and 33 more: https://git.openjdk.org/jdk/compare/dc256fbc...6ce7c84a

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

Changes: https://git.openjdk.org/jdk/pull/16461/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16461&range=38
  Stats: 1511 lines in 52 files changed: 656 ins; 723 del; 132 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