RFR: 8257858: [macOS]: Remove JNF dependency from libosxsecurity/KeystoreImpl.m [v2]
Weijun Wang
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`).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1845
More information about the security-dev
mailing list