Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7035160

(reflect) test/java/lang/reflect/Generics/Probe.java failing

    XMLWordPrintable

Details

    • b140
    • generic
    • generic
    • Verified

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              mduigou Mike Duigou
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: