> 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 > > This is a follow-up to https://github.com/openjdk/jdk/pull/10704. GitHub did > not allow me to re-open the PR, because I did a force-push to have one commit.
Oliver Kopp has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits: - Merge remote-tracking branch 'upstream/master' into fix-8240567 # Conflicts: # src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java - Add description - Fix nit (indent) - Add parameterization for the number of moduleDescriptors per helper method (was magic number 50 / 75 before) - Fix threshold - Merge branch 'openjdk:master' into fix-8240567 - Merge remote-tracking branch 'upstream/master' into fix-8240567 - Merge remote-tracking branch 'upstream/master' into fix-8240567 - Remove "final" at "enabled" - not part of the point of this PR - Remove comments - ... and 1 more: https://git.openjdk.org/jdk/compare/09a49240...a6c9c985 ------------- Changes: https://git.openjdk.org/jdk/pull/14408/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14408&range=07 Stats: 257 lines in 2 files changed: 244 ins; 0 del; 13 mod Patch: https://git.openjdk.org/jdk/pull/14408.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14408/head:pull/14408 PR: https://git.openjdk.org/jdk/pull/14408