You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Google closure compiler cannot handle Clazz.new or Clazz.super
13094
13094
13095
+
// BH 6/19/2018 8:49:57 AM fix for checkDeclared
13095
13096
// BH 5/19/2018 8:22:25 PM fix for new int[] {'a'}
13096
13097
// BH 4/16/2018 6:14:10 PM msie flag in monitor
13097
13098
// BH 2/22/2018 12:34:07 AM array.clone() fix
@@ -13860,11 +13861,10 @@ var _declared = {};
13860
13861
13861
13862
var checkDeclared = function(name, type) {
13862
13863
if (J2S._debugName && name.toLowerCase() == J2S._debugName)doDebugger();
13863
-
if (_declared[name] == type) {
13864
+
if (_declared[name] != null && _declared[name] == type) {
13864
13865
var s = (type === 0 ? "interface" : "class") +" " + name + " is defined twice. A prior core file has probably needed to load a class that is in the current core file. Check to make sure that package.js declares the first class read in jarClassPath or that BuildCompress has included all necessary files."
13865
13866
System.out.println(s);
13866
-
if (J2S._debugCore)
13867
-
doDebugger();
13867
+
// if (J2S._debugCore) doDebugger();
13868
13868
}
13869
13869
_declared[name] = type;
13870
13870
}
@@ -16191,8 +16191,8 @@ return new Int32Array(a.buffer)[0];
0 commit comments