RFR: JDK-8315458 Implementation of Implicitly Declared Classes and Instance Main Method (Second Preview) [v14]
Jim Laskey
jlaskey at openjdk.org
Tue Nov 7 12:29:12 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 14 additional commits since the last revision:
- Merge remote-tracking branch 'upstream/master' into 8315458
- Rename unnamed class tests and examples
- Merge remote-tracking branch 'upstream/master' into 8315458
- Don't get args unless necessary
- Remove unnamed classes from examples.not-yet.txt
- Requested corrections
- Changes recommended by Jan
- Revised implicit class test
- Don't store main method info globally. Use addition calls to fetch info.
- Update JEP number in PreviewFeature
- ... and 4 more: https://git.openjdk.org/jdk/compare/d2ff11e4...7effbcff
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16461/files
- new: https://git.openjdk.org/jdk/pull/16461/files/3ffff0db..7effbcff
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16461&range=13
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16461&range=12-13
Stats: 2973 lines in 123 files changed: 1757 ins; 376 del; 840 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