Skip to content

Commit 1673c46

Browse files
committed
moving SwingJS-site.zip to /dist; new site.zip
adds java.util.Objects, modifies java.util.Arrays
1 parent 21707d8 commit 1673c46

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

sources/net.sf.j2s.java.core/build_core_applet.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,8 @@
294294

295295
<echo>TODO: Could delete demo html files? </echo>
296296

297-
<echo>creating SwingJS-site.zip </echo>
298-
<zip destfile="SwingJS-site.zip" basedir="site" />
297+
<echo>creating dist/SwingJS-site.zip </echo>
298+
<zip destfile="dist/SwingJS-site.zip" basedir="site" />
299299

300300
</target>
301301

2.57 KB
Binary file not shown.

sources/net.sf.j2s.java.core/srcjs/swingjs2.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13092,6 +13092,7 @@ J2S._getResourcePath = function(path, isJavaPath) {
1309213092

1309313093
// Google closure compiler cannot handle Clazz.new or Clazz.super
1309413094

13095+
// BH 6/19/2018 8:49:57 AM fix for checkDeclared
1309513096
// BH 5/19/2018 8:22:25 PM fix for new int[] {'a'}
1309613097
// BH 4/16/2018 6:14:10 PM msie flag in monitor
1309713098
// BH 2/22/2018 12:34:07 AM array.clone() fix
@@ -13860,11 +13861,10 @@ var _declared = {};
1386013861

1386113862
var checkDeclared = function(name, type) {
1386213863
if (J2S._debugName && name.toLowerCase() == J2S._debugName)doDebugger();
13863-
if (_declared[name] == type) {
13864+
if (_declared[name] != null && _declared[name] == type) {
1386413865
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."
1386513866
System.out.println(s);
13866-
if (J2S._debugCore)
13867-
doDebugger();
13867+
// if (J2S._debugCore) doDebugger();
1386813868
}
1386913869
_declared[name] = type;
1387013870
}
@@ -16191,8 +16191,8 @@ return new Int32Array(a.buffer)[0];
1619116191
}
1619216192

1619316193
Float.serialVersionUID=Float.prototype.serialVersionUID=-2671257302660747028;
16194-
Float.MIN_VALUE=Float.prototype.MIN_VALUE=3.4028235e+38;
16195-
Float.MAX_VALUE=Float.prototype.MAX_VALUE=1.4e-45;
16194+
Float.MIN_VALUE=Float.prototype.MIN_VALUE=1.4e-45;
16195+
Float.MAX_VALUE=Float.prototype.MAX_VALUE=3.4028235e+38;
1619616196
Float.NEGATIVE_INFINITY=Number.NEGATIVE_INFINITY;
1619716197
Float.POSITIVE_INFINITY=Number.POSITIVE_INFINITY;
1619816198
Float.NaN=Number.NaN;

0 commit comments

Comments
 (0)