Integrated: 8240567: MethodTooLargeException thrown while creating a jlink image

Oliver Kopp duke at openjdk.org
Thu Jul 6 16:12:18 UTC 2023


On Sun, 11 Jun 2023 21:01:54 GMT, Oliver Kopp <duke at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: ec7da91b
Author:    Oliver Kopp <kopp.dev at gmail.com>
Committer: Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ec7da91bd83803b7d91a4de3a01caf0ba256c037
Stats:     286 lines in 3 files changed: 267 ins; 1 del; 18 mod

8240567: MethodTooLargeException thrown while creating a jlink image

Reviewed-by: mchung

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

PR: https://git.openjdk.org/jdk/pull/14408


More information about the core-libs-dev mailing list