RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v7]
Oliver Kopp
duke at openjdk.org
Tue Dec 27 16:36:15 UTC 2022
> 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 ten additional commits since the last revision:
- 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
- Reduce number of included ModuleDescriptors
- Fix generated RETURN statement
- Fixes JDK-8240567
Co-authored-by: Christoph <siedlerkiller at gmail.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10704/files
- new: https://git.openjdk.org/jdk/pull/10704/files/16fa5292..8f0abd23
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=05-06
Stats: 380657 lines in 4960 files changed: 188407 ins; 130791 del; 61459 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