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

Constructor.getAnnotatedReturnType() returns empty AnnotatedType

    Details

    • Subcomponent:
    • Introduced In Build:
      b34
    • Introduced In Version:
    • Resolved In Build:
      b36

      Backports

        Description

        For Constructor.getAnnotatedReturnType(), I don't think it can get
        returned annotation type from below constructor AnnotationTypeTest01().
        class AnnotationTypeTest01 {
             public @TypeAnno1("TypeAnno1")
             AnnotationTypeTest01() {
             }
        }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jfranck Joel Borggrén-Franck
                  Reporter:
                  jbwang Charlie Wang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: