We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8886fb9 commit a4303acCopy full SHA for a4303ac
sources/net.sf.j2s.java.core/srcjs/js/j2sApplet.js
@@ -2962,7 +2962,7 @@ if (!target) {
2962
J2S.getResourcePath = function(path, isJavaPath) {
2963
if (!path || path.indexOf("https:/") != 0
2964
&& path.indexOf("https:/") != 0 && path.indexOf("file:/") != 0) {
2965
- var applet = J2S._applets[java.lang.Thread.currentThread$()
+ var applet = J2S._applets[Clazz.loadClass("java.lang.Thread").currentThread$()
2966
.getName$()];
2967
path = (!isJavaPath && applet.__Info.resourcePath || applet.__Info.j2sPath)
2968
+ "/" + (path || "");
0 commit comments