Skip to content

Commit 3277d5e

Browse files
author
zhourenjian
committed
A quick fix of 2802552
java.util.Hashtable.newEntry is not a function It should be a compiler bug. We just make a quick fix here and we will fix the compiler bug later.
1 parent 96e9802 commit 3277d5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ public Object nextElement() {
6666
}
6767
};
6868

69+
/**
70+
* @j2sKeep
71+
*/
6972
private static <K, V> Entry<K, V> newEntry(K key, V value, int hash) {
7073
return new Entry<K, V>(key, value);
7174
}

0 commit comments

Comments
 (0)