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

Oliver Kopp duke at openjdk.org
Thu Jan 26 19:08:46 UTC 2023


> 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 one additional commit since the last revision:

  Readd creation of helper methods for splitting up modules
  
  Co-authored-by: Oliver Kopp <kopp.dev at gmail.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10704/files
  - new: https://git.openjdk.org/jdk/pull/10704/files/cba36761..5fc6e3d5

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

  Stats: 51 lines in 1 file changed: 45 ins; 0 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