JavaClassRegistry.st
branchdevelopment
changeset 2942 c39cbf09ea3d
parent 2872 3ed529d88338
child 2948 af30789878ce
--- a/JavaClassRegistry.st	Wed Nov 20 10:42:07 2013 +0000
+++ b/JavaClassRegistry.st	Wed Nov 20 16:40:09 2013 +0000
@@ -344,11 +344,13 @@
     JavaCompiler notNil ifTrue:[
        JavaCompiler recompileErroneousClassesReferringTo: newClass ignoring: newClass.  
     ].
-    self registerClassInSmalltalk: newClass notify: true.
+    newClass isJavaClass ifTrue:[
+        self registerClassInSmalltalk: newClass notify: true.
+    ].
 
     "Created: / 23-10-2011 / 11:53:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 02-11-2011 / 18:40:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-    "Modified: / 17-10-2013 / 10:39:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 20-11-2013 / 16:05:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 registerClassInSmalltalk: javaclass notify: doNotify