<AWT Dev> RFR: 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code [v7]

Sergey Bylokhov serb at openjdk.java.net
Fri Dec 18 22:21:57 UTC 2020

On Fri, 18 Dec 2020 22:11:56 GMT, Phil Race <prr at openjdk.org> wrote:

> > > > We should take care of native exceptions, and probably use more objective-c than the macro.
> > > 
> > > 
> > > We will take care of native exceptions - the ENTER/EXIT macros which have yet to be updated will handle these if they occur.
> > > This part of the changes is about JNI up-calls.
> > 
> > 
> > No, you skipped all exceptions in the JNI up-calls, which I am talking about.
> Not sure what you mean.

Non of your macro raises exceptions like it was before. All of them just log and clear a java exception, while before such exceptions were transformed to the NSException and handled appropriately.


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

More information about the awt-dev mailing list