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

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

XMLWordPrintable

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

      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);

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: