[CLJ-780] race condition in reference cache on Java 5 Created: 27/Apr/11 Updated: 01/Mar/13 Resolved: 27/Apr/11 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Release 1.3 |
| Type: | Defect | Priority: | Major |
| Reporter: | Stuart Halloway | Assignee: | Stuart Halloway |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code |
| Approval: | Ok |
| Description |
|
Map.Entry instances can have null values prior to Java 6 Test failure: http://build.clojure.org/job/test.generative/1/org.clojure$test.generative/console Note that the fix must hold val in a local variable, because cache.remove will bomb if the value is null. |