Affects Version/s: Release 1.3, Release 1.4
Fix Version/s: Release 1.5
Patch:Code and Test
When requiring a namespace that doesn't compile, a namespace is still created. The attached patch removes the namespace on failure if the namespace wasn't already present on entry to load-lib. See the test case in the patch for repro instructions.
This is obviously a subset of having atomic loads. Would a step further in this direction, e.g. using a swapable state object within clojure.lang.Namespace be of interest?
|Field||Original Value||New Value|
|Fix Version/s||Release 1.5 [ 10150 ]|
|Approval||Screened [ 10004 ]|
|Approval||Screened [ 10004 ]||Ok [ 10007 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Completed [ 1 ]|