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

MirroredTypeException is thrown instead of MirroredTypesException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6u29
    • core-libs

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      When attemping to call getValue() method on annotation which is supposed to return an array of Class objects, a MirrorTypeException is thrown instead of MirrorTypesException. Because of that only first value of Class[] and not entire array can be read.

      This bug was reported before and can be found at this page:
      http://bugs.sun.com/view_bug.do?bug_id=6519115

      Unfortunately the resolution was provided only for version 7 of java and it is necessary for my company to have it fixed on version 6.

      REGRESSION. Last worked in version 5.0


      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: