RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v2]
Alan Bateman
alanb at openjdk.org
Fri Oct 14 12:28:03 UTC 2022
On Fri, 14 Oct 2022 12:22:16 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
>
> Oliver Kopp has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix generated RETURN statement
This one has been on my list to fix for sometime, it's okay if you take it. Can you look at the tests in test/jdk/tools/jlink, that is where we will need to add the test for this.
-------------
PR: https://git.openjdk.org/jdk/pull/10704
More information about the core-libs-dev
mailing list