RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v5]

Oliver Kopp duke at openjdk.org
Tue Nov 29 21:41:06 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 incrementally with two additional commits since the last revision:

 - Adapt number to have javac working (and refine test)
 - Remove obsolete comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10704/files
  - new: https://git.openjdk.org/jdk/pull/10704/files/7c39bd3e..8e94741a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10704&range=03-04

  Stats: 17 lines in 2 files changed: 8 ins; 3 del; 6 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