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 14badb5 commit e64f1a6Copy full SHA for e64f1a6
sources/net.sf.j2s.java.core/srcjs/js/j2sApplet.js
@@ -3046,8 +3046,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
3046
J2S.getResourcePath = function(path, isJavaPath) {
3047
if (!path || path.indexOf("https:/") != 0
3048
&& path.indexOf("https:/") != 0 && path.indexOf("file:/") != 0) {
3049
- var applet = J2S._applets[Clazz.loadClass("java.lang.Thread").currentThread$()
3050
- .getName$()];
+ var applet = Thread.currentThread$().getThreadGroup$().秘html5Applet;
3051
path = (!isJavaPath && applet.__Info.resourcePath || applet.__Info.j2sPath)
3052
+ "/" + (path || "");
3053
}
0 commit comments