Skip to content

Commit 66a1572

Browse files
committed
HashTable interator fix for JavaScript map base; AU.isADouble missing
1 parent 75208b8 commit 66a1572

File tree

7 files changed

+7
-2
lines changed

7 files changed

+7
-2
lines changed
171 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20230726212918
1+
20230801090809
171 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20230726212918
1+
20230801090809
171 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/src/java/util/Hashtable.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1947,6 +1947,7 @@ public void remove() {
19471947
* key = p.value[0];
19481948
*/
19491949
Hashtable.this.remove(key);
1950+
expectedModCount++;
19501951
} else {
19511952

19521953
synchronized (Hashtable.this) {

sources/net.sf.j2s.java.core/src/javajs/util/AU.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ public static boolean isAFloat(Object x) {
531531
return x instanceof Float[];
532532
}
533533

534+
public static boolean isADouble(Object x) {
535+
return x instanceof Double[];
536+
}
537+
534538
public static boolean isAD(Object x) {
535539
return x instanceof double[];
536540
}

0 commit comments

Comments
 (0)