RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v9]
Oliver Kopp
duke at openjdk.org
Mon Jan 2 22:51:14 UTC 2023
> Fix for [JDK-8240567](https://bugs.openjdk.org/browse/JDK-8240567): "MethodTooLargeException thrown while creating a jlink image".
>
> Java still has a 64kb limit: A method may not be longer than 64kb. The idea of the fix is to split up the generated methods in several smaller methods
Oliver Kopp 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 13 additional commits since the last revision:
- More recursion
Co-authored-by: Christoph <siedlerkiller at gmail.com>
- Merge remote-tracking branch 'origin/master' into fix-8240567
- Refine tests
Co-authored-by: Christoph <siedlerkiller at gmail.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus at users.noreply.github.com>
- Revert to original SystemModulesPlugin
Co-authored-by: Christoph <siedlerkiller at gmail.com>
Co-authored-by: Carl Christian Snethlage <50491877+calixtus at users.noreply.github.com>
- Merge remote-tracking branch 'origin/master' into fix-8240567
- Refine test
Co-authored-by: Christoph <siedlerkiller at gmail.com>
- Adapt number to have javac working (and refine test)
- Remove obsolete comment
- Begin to craft test
- Reduce comment text
- ... and 3 more: https://git.openjdk.org/jdk/compare/4c9038c4...ede0e87f
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10704/files
- new: https://git.openjdk.org/jdk/pull/10704/files/96362d54..ede0e87f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=08
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=07-08
Stats: 5946 lines in 539 files changed: 3276 ins; 1260 del; 1410 mod
Patch: https://git.openjdk.org/jdk/pull/10704.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10704/head:pull/10704
PR: https://git.openjdk.org/jdk/pull/10704
More information about the core-libs-dev
mailing list