RFR: 8240567: MethodTooLargeException thrown while creating a jlink image [v4]
Jaikiran Pai
jpai at openjdk.org
Sun Oct 16 13:20:14 UTC 2022
On Fri, 14 Oct 2022 23:12:38 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 two additional commits since the last revision:
>
> - Begin to craft test
> - Reduce comment text
Hello Oliver,
> However, it is still very hard to me to figure out which tool to call how (because I am used to "gradle" build magic).
Do you mean you are looking for inputs on how to run these tests locally? If so, then the testing guide https://github.com/openjdk/jdk/blob/master/doc/testing.md as well as the jtreg project documentation https://openjdk.org/jtreg/ might help.
-------------
PR: https://git.openjdk.org/jdk/pull/10704
More information about the core-libs-dev
mailing list