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

(ann) AnnotationFormatError if "default" Class type not found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 5.0
    • core-libs

    Description

      If an annotation type's default is not found, it is treated as an error.

      This is related to the following code in java.lang.reflect.Method:

      705 if (result instanceof sun.reflect.annotation.ExceptionProxy)
      706 throw new AnnotationFormatError("Invalid default: " + this);

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: