You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As pointed out in a discussion between @chrisseaton and @headius, there is a new constructor for java.lang.Thread that says whether or not InheritableThreadLocals should actually be inherited. So we could potentially use that via reflection if we detect it is present, instead of the hack here that zaps the InheritableThreadLocals after the thread has been created. My main concern is that someone might decide that five constructor parameters are not enough and add another one before the Java 9 API goes final. But I think it's late enough in the Java 9 lifecycle for that to be unlikely.
#2571 (comment)
We access it here:
guava/guava/src/com/google/common/base/internal/Finalizer.java
Line 195 in 3def13f
The text was updated successfully, but these errors were encountered: