Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2210719 | 1.4.0 | Joe Wang | P3 | Closed | Fixed | 1.4 |
javax.xml.parsers.FactoryFinder.find(String, String), revision 3037 contains a double checked locking bug.
The simple solution is to make static boolean field "firstTime" volatile and move the assignment "firstTime = false;" after the call to "cacheProps.load(ss.getFileInputStream(f));"
I did search for this bug, but can never seem to get good information out of JIRA's search feature. Please excuse me if I have submitted a duplicate.
The simple solution is to make static boolean field "firstTime" volatile and move the assignment "firstTime = false;" after the call to "cacheProps.load(ss.getFileInputStream(f));"
I did search for this bug, but can never seem to get good information out of JIRA's search feature. Please excuse me if I have submitted a duplicate.
- backported by
-
JDK-2210719 JAXP issue 69 : Double-checked locking bug in javax.xml.parsers.FactoryFinder.find(String, String)
-
- Closed
-
- relates to
-
JDK-7121110 JAXP 1.4.6 for 7u4
-
- Resolved
-