8259651: [macOS] Replace JNF_COCOA_ENTER/EXIT macros #2056
Most of the changes here are simply
These new macros are defined in JNIUtilities.h and handle the auto release and on exit catch any NSException.
So calls to JNFException are also removed and in most cases they are just directly using one of the JNU_*
JNIUtilities has just two macros for cases where we need to accompany it with an NSException because
JNIUtilities also has a macro JNI_COCOA_EXIT_WITH_ACTION
This already passed all our automated tests, although I'm re-running since I needed to merge to the
The text was updated successfully, but these errors were encountered:
@prrace This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 64 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
@prrace Since your change was applied there have been 73 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit 5855d52.