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

getValue() returns null for boolean type members

XMLWordPrintable

    • apt
    • b43
    • generic
    • generic

      AnnotationValue.getValue(), via
      AnnottationTypeMmeberDeclaration.getDefaultValue().getValue() returns null if annotation interface member is of type 'boolean' (or any other primitive type?)

      This is the sample which was processed:
      public @interface A3 {
              public boolean isit() default false;
      }

            sseligmasunw Scott Seligman (Inactive)
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: