Bug: https://bugs.openjdk.java.net/browse/JDK-8221205 webrev: http://cr.openjdk.java.net/~dholmes/8221205/webrev/ The ancient AllowJNIEnvProxy flag was deprecated in 13 and is now being obsoleted in 14. The code that contained the flag check always operates on a thread instance that is the current thread. Thanks, David