RFR: 8257858: [macOS]: Remove JNF dependency from libosxsecurity/KeystoreImpl.m [v2]
weijun at openjdk.java.net
Fri Jan 29 22:38:39 UTC 2021
On Fri, 29 Jan 2021 22:05:21 GMT, Phil Race <prr at openjdk.org> wrote:
>> So I should remember how env was retrieved and only detach when it's from `AttachCurrentThreadAsDaemon`? In fact, in my test the plain `GetEnv` has never succeeded and it was always attached.
> Yes that is the idea. BTW which thread was it attached to in what you saw ?
It's a new thread in the main group. After the method finishes, the thread exits (`Thread::exit`).
More information about the core-libs-dev