Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread David Holmes
+1 On 22/10/2019 4:03 am, Claes Redestad wrote: On 2019-10-21 19:58, Alexey Ivanov wrote: Just to confirm: Is the patch http://cr.openjdk.java.net/~aivanov/8232624/webrev.00/ approved? Ship it! /Claes

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Alexey Ivanov
Hi David, Claes, Alan, Thank you for your reviews! Just to confirm: Is the patch http://cr.openjdk.java.net/~aivanov/8232624/webrev.00/ approved? The cleanup to avoid indirection for calling JNU_NewStringPLatform will be addressed in the follow-up issue

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Claes Redestad
On 2019-10-21 19:58, Alexey Ivanov wrote: Just to confirm: Is the patch http://cr.openjdk.java.net/~aivanov/8232624/webrev.00/ approved? Ship it! /Claes

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Alexey Ivanov
Hi David, On 21/10/2019 14:00, David Holmes wrote: On 21/10/2019 10:14 pm, Alexey Ivanov wrote: Hi David, On 21/10/2019 02:19, David Holmes wrote: So what would happen if we drop the JNICALL from JNU_NewStringPLatform? Yes, it will be found by its undecorated name too. But I'd rather

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Alexey Ivanov
I have filed https://bugs.openjdk.java.net/browse/JDK-8232724 "Remove indirection with calling JNU_NewStringPlatform" On 21/10/2019 13:49, Claes Redestad wrote: On 2019-10-21 14:14, Alexey Ivanov wrote: Probably, Claes thought "NewStringPlatform" wasn't used. Yet it proved that

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread David Holmes
On 21/10/2019 10:14 pm, Alexey Ivanov wrote: Hi David, On 21/10/2019 02:19, David Holmes wrote: Hi Alexey, On 21/10/2019 9:37 am, Alexey Ivanov wrote: Hi David, On 20/10/2019 23:59, David Holmes wrote: Hi Alexey, On 21/10/2019 2:20 am, Alexey Ivanov wrote: Hello, Please review the

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Claes Redestad
On 2019-10-21 14:14, Alexey Ivanov wrote: Probably, Claes thought "NewStringPlatform" wasn't used. Yet it proved that "NewStringPlatform" is still used. If required, I can create a follow-up issue to re-do the cleanup as Alan suggested. Yes, please. If some or even just one platform needs

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Alexey Ivanov
Hi David, On 21/10/2019 02:19, David Holmes wrote: Hi Alexey, On 21/10/2019 9:37 am, Alexey Ivanov wrote: Hi David, On 20/10/2019 23:59, David Holmes wrote: Hi Alexey, On 21/10/2019 2:20 am, Alexey Ivanov wrote: Hello, Please review the following fix which it brings back

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-21 Thread Alan Bateman
On 21/10/2019 00:37, Alexey Ivanov wrote: Yes, JNICALL affects 32-bit Windows only. And this is exactly why "JNU_NewStringPLatform" cannot be found by its name on 32-bit Windows; "NewStringPlatform" is not declared as JNICALL and it can be found by its undecorated name on 32-bit Windows and

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-20 Thread David Holmes
Hi Alexey, On 21/10/2019 9:37 am, Alexey Ivanov wrote: Hi David, On 20/10/2019 23:59, David Holmes wrote: Hi Alexey, On 21/10/2019 2:20 am, Alexey Ivanov wrote: Hello, Please review the following fix which it brings back NewStringPlatform alias for JNU_NewStringPlatform. Without it, 32

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-20 Thread Alexey Ivanov
Hi David, On 20/10/2019 23:59, David Holmes wrote: Hi Alexey, On 21/10/2019 2:20 am, Alexey Ivanov wrote: Hello, Please review the following fix which it brings back NewStringPlatform alias for JNU_NewStringPlatform. Without it, 32 bit Windows build of Java does not work. bug:

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-20 Thread David Holmes
Hi Alexey, On 21/10/2019 2:20 am, Alexey Ivanov wrote: Hello, Please review the following fix which it brings back NewStringPlatform alias for JNU_NewStringPlatform. Without it, 32 bit Windows build of Java does not work. bug: https://bugs.openjdk.java.net/browse/JDK-8232624 webrev:

Re: RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-20 Thread Alan Bateman
On 20/10/2019 17:20, Alexey Ivanov wrote: Hello, Please review the following fix which it brings back NewStringPlatform alias for JNU_NewStringPlatform. Without it, 32 bit Windows build of Java does not work. bug: https://bugs.openjdk.java.net/browse/JDK-8232624 webrev:

RFR JDK-8232624: Java cannot start: NewStringPlatform missing

2019-10-20 Thread Alexey Ivanov
Hello, Please review the following fix which it brings back NewStringPlatform alias for JNU_NewStringPlatform. Without it, 32 bit Windows build of Java does not work. bug: https://bugs.openjdk.java.net/browse/JDK-8232624 webrev: http://cr.openjdk.java.net/~aivanov/8232624/webrev.00/ --