
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
Core
|
| Affects Version/s: |
1.6
|
| Fix Version/s: |
1.6.1
|
|
read this for an explanation of why...
http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.3.1.4
"As described in §17, the Java programming language allows threads to access shared variables. As a rule, to ensure that shared variables are consistently and reliably updated, a thread should ensure that it has exclusive use of such variables by obtaining a lock that, conventionally, enforces mutual exclusion for those shared variables."
|
|
Description
|
read this for an explanation of why...
http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.3.1.4
"As described in §17, the Java programming language allows threads to access shared variables. As a rule, to ensure that shared variables are consistently and reliably updated, a thread should ensure that it has exclusive use of such variables by obtaining a lock that, conventionally, enforces mutual exclusion for those shared variables." |
Show » |
|