Skip to content

Commit c121267

Browse files
hansonrhansonr
authored andcommitted
SwingJS-site.zip update
1 parent 4ca360a commit c121267

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed
848 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190724061400
1+
20190727175738
848 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20190724061400
1+
20190727175738
848 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13731,6 +13731,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
1373113731

1373213732
// TODO: still a lot of references to window[...]
1373313733

13734+
// BH 2019.07.27 fixes array(intArray).clone
1373413735
// BH 2019.07.09 adds Java String.trim()
1373513736
// BH 2019.05.21 changes Clazz.isClassDefined to Clazz._isClassDefined for compression
1373613737
// BH 2019.05.13 fixes for Math.getExponent, Math.IEEERemainder, Array.equals(Object)
@@ -13936,7 +13937,7 @@ var _array = function(baseClass, paramType, ndims, params, isClone) {
1393613937
}
1393713938
params.push(paramType);
1393813939
var nbits = 0;
13939-
if (ndims != 0) {
13940+
if (ndims != 0 && !(isClone && Array.isArray(params[1]))) {
1394013941
switch (prim) {
1394113942
case "B":
1394213943
nbits = 8;

0 commit comments

Comments
 (0)