--- a/JavaClassRegistry.st Tue Dec 10 10:46:13 2013 +0000
+++ b/JavaClassRegistry.st Tue Dec 10 22:33:43 2013 +0000
@@ -124,12 +124,14 @@
synchronizer value:[
"If class is already registered with the same cl, just return it"
class := self classNamed: className loader: classLoader.
- class isNil ifTrue:[
- "If java vm is booted, nil class loader means system class loader, lets check it too"
- (vm notNil and:[vm booted and: [classLoader isNil]]) ifTrue: [
- class := self classNamed: className loader: vm systemClassLoader.
- ].
- ].
+"/ This is rubbish...
+"/
+"/ class isNil ifTrue:[
+"/ "If java vm is booted, nil class loader means system class loader, lets check it too"
+"/ (vm notNil and:[vm booted and: [classLoader isNil]]) ifTrue: [
+"/ class := self classNamed: className loader: vm systemClassLoader.
+"/ ].
+"/ ].
class isNil ifTrue:[
"Otherwise evaluate block"
class := block value.
@@ -141,7 +143,7 @@
"Created: / 21-10-2011 / 12:00:30 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
"Created: / 23-10-2011 / 11:36:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 02-11-2011 / 17:29:20 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
- "Modified: / 26-11-2013 / 20:18:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified (comment): / 10-12-2013 / 17:53:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
classNamed: className