On Tue, 8 Jun 2021 19:25:36 GMT, Paul Sandoz <[email protected]> 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

Reply via email to