Class JDKUtils
- java.lang.Object
 - 
- org.apache.tapestry5.ioc.internal.util.JDKUtils
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static booleanJDK_1_5Is the running JVM JDK 1.5? 
- 
Constructor Summary
Constructors Constructor Description JDKUtils() 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LockcreateLockForThreadLocalCreation()Deprecated.Deprecated in 5.4 with no replacement. 
 - 
 
- 
- 
Field Detail
- 
JDK_1_5
public static final boolean JDK_1_5
Is the running JVM JDK 1.5? 
 - 
 
- 
Constructor Detail
- 
JDKUtils
public JDKUtils()
 
 - 
 
- 
Method Detail
- 
createLockForThreadLocalCreation
public static Lock createLockForThreadLocalCreation()
Deprecated.Deprecated in 5.4 with no replacement.Returns aReentrantLockused 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, aDummyLockis returned.- Returns:
 - lock to use when creating
 - Since:
 - 5.3
 
 
 - 
 
 -