FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
The example at the top of the page (http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html) should have
return uniqueNum.get();
instead of
return uniqueId.get();
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
The example at the top of the page (http://download.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html) should have
return uniqueNum.get();
instead of
return uniqueId.get();
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-6434084 (doc thread) New ThreadLocal SerialNum example still has problems
-
- Resolved
-