RFR: 8240567: MethodTooLargeException thrown while creating a jlink image

Oliver Kopp duke at openjdk.org
Thu Oct 13 21:22:24 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

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

Commit messages:
 - Fixes JDK-8240567

Changes: https://git.openjdk.org/jdk/pull/10704/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8240567
  Stats: 50 lines in 1 file changed: 45 ins; 0 del; 5 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