On Tue, 9 Aug 2022 09:31:59 GMT, Thomas Stuefe <[email protected]> wrote:

>> David Holmes has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Fixed `if` block indentation per Magnus's request
>
> Hi David,
> 
> that was interesting. I always thought you have to detach before destroying 
> the VM.
> 
> I looked into 
> https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/invocation.html
>  and it says:
> 
> "Detaching from the VM: A native thread attached to the VM must call 
> DetachCurrentThread() to detach itself before exiting."
> 
> Cheers, Thomas

Thanks for looking at this @tstuefe and @magicus

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

PR: https://git.openjdk.org/jdk/pull/9803

Reply via email to