|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.internal.util.JDKUtils
public class JDKUtils
Internal utilities for identifying the JDK version, used in the rare cases that we are patching around JDK bugs.
Field Summary | |
---|---|
static boolean |
JDK_1_5
Is the running JVM JDK 1.5? |
Constructor Summary | |
---|---|
JDKUtils()
|
Method Summary | |
---|---|
static java.util.concurrent.locks.Lock |
createLockForThreadLocalCreation()
Returns a 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean JDK_1_5
Constructor Detail |
---|
public JDKUtils()
Method Detail |
---|
public static java.util.concurrent.locks.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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |