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

Oliver Kopp duke at openjdk.org
Fri Oct 14 23:12:38 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:

 - Begin to craft test
 - Reduce comment text

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

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

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

  Stats: 66 lines in 2 files changed: 61 ins; 2 del; 3 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