RFR: 8259343: [macOS] Update JNI error handling in Cocoa code.

Sergey Bylokhov serb at openjdk.java.net
Mon Jan 11 06:08:00 UTC 2021


On Fri, 8 Jan 2021 19:17:17 GMT, Phil Race <prr at openjdk.org> wrote:

>> That code for sure should be called, it is even improved recently by JDK-8255681
>> I'll check how it was intended to work.
>
> I hadn't noticed that line - and definintely not realised it was recent.
> I suppose he must have had a way to trigger it.
> But I don't think it hurts to have both.

I just tried to understand why we need to complicate this, to me, it is unclear why handling the same errors in the NSApplicationAWT.m does not work.

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

PR: https://git.openjdk.java.net/jdk/pull/1967



More information about the build-dev mailing list