Java.st
branchdevelopment
changeset 2677 17b4e18678ae
parent 2588 58b1e0fd20e7
child 2701 44a062d9aae8
--- a/Java.st	Thu Aug 29 01:09:28 2013 +0100
+++ b/Java.st	Thu Aug 29 01:11:32 2013 +0100
@@ -122,13 +122,18 @@
 javaExtDirs
 
     ^Java release javaExtDirs
-        , (Array 
-                with: ((Smalltalk packageDirectoryForPackageId: 'stx:libjava') / 'java' / 'bin')
-                with: ((Smalltalk packageDirectoryForPackageId: 'stx:libjava') / 'java' / 'libs') 
-        ).
+
+    "/ JV@2013-08-29: Do not add Smalltalk/X support classes nor groovy nor junit to the
+    "/                ext path. They are then loaded by *ext* class loader and thus cannot
+    "/                access classes defined in standard class path (as they are loaded by
+    "/                system (*app*) class loader.
+"/        , (Array 
+"/                with: ((Smalltalk packageDirectoryForPackageId: 'stx:libjava') / 'java' / 'bin')
+"/                with: ((Smalltalk packageDirectoryForPackageId: 'stx:libjava') / 'java' / 'libs' / 'ext') 
+"/        ).
 
     "Created: / 31-08-2011 / 22:55:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 23-01-2013 / 15:26:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified (comment): / 29-08-2013 / 00:28:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 java_lang_Class