-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b140
-
generic
-
generic
-
Verified
The recent changes to java.util.EnumMap and java.util.IdentityHashMap$Entry (6312706) mean that test/java/lang/reflect/Generics/Probe.java is now failing. The underlying issue is a long standing bug in the signature parser (6476261). Fixing the signature parser this late in jdk7 is likely to be risky so this new bug is submitted to track changing the test to avoid this issue.
$ java Probe
CLASS java.util.concurrent.FutureTask
ok
CLASS java.util.concurrent.ConcurrentHashMap$EntryIterator
ok
CLASS java.util.concurrent.ConcurrentHashMap$KeyIterator
ok
CLASS java.util.concurrent.ConcurrentHashMap$ValueIterator
ok
CLASS java.util.AbstractList$ListItr
ok
CLASS java.util.EnumMap$EntryIterator
FIELD private java.util.EnumMap$EntryIterator$Entry java.util.EnumMap$EntryIterator.lastReturnedEntry
java.lang.reflect.GenericSignatureFormatError
ERRORS:1
CLASS java.util.EnumMap$KeyIterator
ERRORS:1
CLASS java.util.EnumMap$ValueIterator
ERRORS:1
CLASS java.util.IdentityHashMap$EntryIterator
FIELD private java.util.IdentityHashMap$EntryIterator$Entry java.util.IdentityHashMap$EntryIterator.lastReturnedEntry
java.lang.reflect.GenericSignatureFormatError
ERRORS:2
CLASS java.util.IdentityHashMap$KeyIterator
ERRORS:2
CLASS java.util.IdentityHashMap$ValueIterator
ERRORS:2
CLASS java.util.WeakHashMap$EntryIterator
ERRORS:2
CLASS java.util.WeakHashMap$KeyIterator
ERRORS:2
CLASS java.util.WeakHashMap$ValueIterator
ERRORS:2
CLASS java.util.HashMap$EntryIterator
ERRORS:2
CLASS java.util.HashMap$KeyIterator
ERRORS:2
CLASS java.util.HashMap$ValueIterator
ERRORS:2
CLASS java.util.LinkedHashMap$EntryIterator
ERRORS:2
CLASS java.util.LinkedHashMap$KeyIterator
ERRORS:2
CLASS java.util.LinkedHashMap$ValueIterator
ERRORS:2
Exception in thread "main" java.lang.RuntimeException: Errors during probing.
at Probe.main(Probe.java:71)
$ java Probe
CLASS java.util.concurrent.FutureTask
ok
CLASS java.util.concurrent.ConcurrentHashMap$EntryIterator
ok
CLASS java.util.concurrent.ConcurrentHashMap$KeyIterator
ok
CLASS java.util.concurrent.ConcurrentHashMap$ValueIterator
ok
CLASS java.util.AbstractList$ListItr
ok
CLASS java.util.EnumMap$EntryIterator
FIELD private java.util.EnumMap$EntryIterator$Entry java.util.EnumMap$EntryIterator.lastReturnedEntry
java.lang.reflect.GenericSignatureFormatError
ERRORS:1
CLASS java.util.EnumMap$KeyIterator
ERRORS:1
CLASS java.util.EnumMap$ValueIterator
ERRORS:1
CLASS java.util.IdentityHashMap$EntryIterator
FIELD private java.util.IdentityHashMap$EntryIterator$Entry java.util.IdentityHashMap$EntryIterator.lastReturnedEntry
java.lang.reflect.GenericSignatureFormatError
ERRORS:2
CLASS java.util.IdentityHashMap$KeyIterator
ERRORS:2
CLASS java.util.IdentityHashMap$ValueIterator
ERRORS:2
CLASS java.util.WeakHashMap$EntryIterator
ERRORS:2
CLASS java.util.WeakHashMap$KeyIterator
ERRORS:2
CLASS java.util.WeakHashMap$ValueIterator
ERRORS:2
CLASS java.util.HashMap$EntryIterator
ERRORS:2
CLASS java.util.HashMap$KeyIterator
ERRORS:2
CLASS java.util.HashMap$ValueIterator
ERRORS:2
CLASS java.util.LinkedHashMap$EntryIterator
ERRORS:2
CLASS java.util.LinkedHashMap$KeyIterator
ERRORS:2
CLASS java.util.LinkedHashMap$ValueIterator
ERRORS:2
Exception in thread "main" java.lang.RuntimeException: Errors during probing.
at Probe.main(Probe.java:71)
- relates to
-
JDK-6704655 Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
- Resolved
-
JDK-6312706 (coll) Map entrySet iterators should return different entries on each call to next()
- Closed
-
JDK-6476261 (reflect) GenericSignatureFormatError When signature includes nested inner classes
- Closed