[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Re: RFR: 8280422: thread_from_jni_environment can never return NULL [v2]
From:       Johannes Bechberger <duke () openjdk ! java ! net>
Date:       2022-02-21 14:49:53
Message-ID: G_mHwTdASAiQzq47DHqdrgIoc_iAe2CPmtfqCh2Ya34=.ca0c373c-0ea5-496e-983b-0bbf99de3b72 () github ! com
[Download RAW message or body]

On Mon, 24 Jan 2022 02:21:34 GMT, David Holmes <dholmes@openjdk.org> wrote:

> > Analysing the code and its use (see JBS issue for gory details) we can see that \
> > `thread_from_jni_environment` can never actually return NULL, so we change it to \
> > not appear to do so and thus keep static analysis tools happy.  We also always \
> > validate the incoming JNIEnv for debug builds and scrap the unused \
> > `VerifyJNIEnvThread` flag. 
> > Testing: tiers 1-5
> > 
> > Thanks,
> > David
> 
> David Holmes has updated the pull request incrementally with one additional commit \
> since the last revision: 
> Update copyright

I've created a PR with a fix at https://github.com/openjdk/jdk/pull/7559

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic