Modifier and Type | Field and Description |
---|---|
static boolean |
JDK_1_5
Is the running JVM JDK 1.5?
|
Constructor and Description |
---|
JDKUtils() |
Modifier and Type | Method and Description |
---|---|
static Lock |
createLockForThreadLocalCreation()
Deprecated.
Deprecated in 5.4 with no replacement.
|
public static final boolean JDK_1_5
public JDKUtils()
public static Lock createLockForThreadLocalCreation()
ReentrantLock
used to serialize access to the construction of a thread local; this is only needed under JDK 1.5 (due to a bug in the JDK);
for other JDKs, a DummyLock
is returned.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.