diff options
author | Andrew Azores <[email protected]> | 2013-12-27 09:49:23 -0500 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-12-27 09:49:23 -0500 |
commit | f2ab119fec96c1d611646b039ca6397db830c65d (patch) | |
tree | 1e9711fa807078af2ee4fa477139106c977a5803 /tests | |
parent | b498f0bd16cb77a6082e2bb797d8f4daec07c345 (diff) |
Fix classloading deadlock regression
Resolve deadlock issue in JNLPClassLoader. See
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-December/025546.html
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (loadClassLock)
removed. (available, jarIndexes, classpaths, jarEntries, jarLocationSecurityMap)
fields wrapped in Collections.synchronized*() to provide atomic read/write.
Synchronized on while iterating over these collections. (loadClass) no longer
uses implicit JNLPClassLoader instance lock nor dedicated loadClassLock object.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions