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

Oliver Kopp duke at openjdk.org
Wed Dec 28 08:46:09 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:

 - 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>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10704/files
  - new: https://git.openjdk.org/jdk/pull/10704/files/8f0abd23..96362d54

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

  Stats: 69 lines in 2 files changed: 16 ins; 45 del; 8 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