Skip to content

Commit 410a834

Browse files
author
jossonsmith
committed
Fixed bug that
ClazzLoader.packageClasspath (["org.eclipse.core.commands.contexts", "$.common"], ... does not evaluate "$." correctly.
1 parent e98cc29 commit 410a834

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/net.sf.j2s.java.core/src/java/lang/ClassLoader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ ClazzLoader.classpathMap = new Object ();
313313
/* public */
314314
ClazzLoader.packageClasspath = function (pkg, base, index) {
315315
if (pkg instanceof Array) {
316+
ClazzLoader.unwrapArray (pkg);
316317
for (var i = 0; i < pkg.length; i++) {
317318
ClazzLoader.packageClasspath (pkg[i], base, index);
318319
}

0 commit comments

Comments
 (0)