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

2023-07-04 Thread Oliver Kopp
On Mon, 3 Jul 2023 20:22:30 GMT, Mandy Chung wrote: > Thanks for the update. Some comments below. Thank you for the feedback! I didn't see the "proper" usage of effectively final variables. > The test you add does not cause new locals be defined in the helper methods. > Do you think you can

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

2023-07-03 Thread Oliver Kopp
On Mon, 3 Jul 2023 20:00:40 GMT, Mandy Chung wrote: >> Oliver Kopp has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Fix test >> - Fix ArrayList initialization and off-by-one errors > > src/jdk.jlink/share/classes/jdk/tools/jlink/intern

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

2023-07-03 Thread Mandy Chung
On Sat, 1 Jul 2023 18:36:10 GMT, Oliver Kopp 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 spl

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

2023-07-01 Thread Oliver Kopp
On Sat, 1 Jul 2023 18:36:10 GMT, Oliver Kopp 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 spl

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

2023-07-01 Thread Oliver Kopp
> 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 > >

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

2023-01-25 Thread Oliver Kopp
> 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 Oli