RFR: 8268339: Upstream: 8267989: Exceptions thrown during upcalls should be handled [v5]

Jorn Vernee jvernee at openjdk.java.net
Thu Jun 10 08:53:22 UTC 2021


On Tue, 8 Jun 2021 19:25:36 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Suggest try/catch Throwable in upcallStub javadoc
>
> test/jdk/java/foreign/TestUpcallException.java line 70:
> 
>> 68:         Process process = new ProcessBuilder()
>> 69:             .command(
>> 70:                 Paths.get(Utils.TEST_JDK)
> 
> You might find `jdk.test.lib.JDKToolLauncher` useful.

Thanks for the suggestion (forgot to reply earlier). I think I copied the current way to find `java` from another test. I'll look at using JDKToolLauncher next time.

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

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


More information about the core-libs-dev mailing list