[foreign-memaccess+abi] RFR: 8303835: Remove uncaught exception handler linker option [v2]

Jorn Vernee jvernee at openjdk.org
Thu Mar 9 13:47:44 UTC 2023


The message from this sender included one or more files
which could not be scanned for virus detection; do not
open these files unless you are certain of the sender's intent.

----------------------------------------------------------------------
On Thu, 9 Mar 2023 03:09:04 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add try/finally block
>
> src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java line 315:
> 
>> 313:         if (t != null) {
>> 314:             t.printStackTrace();
>> 315:             System.err.println("Unrecoverable uncaught exception encountered. The VM will now exit");
> 
> Suggestion:
> 
> try {
>   t.printSackTrace();
>   System.err...
> } finally {
>   JLA.exit(1);
> }

Done.

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

PR: https://git.openjdk.org/panama-foreign/pull/813


More information about the panama-dev mailing list