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

jdeps missing references from RuntimeVisibleAnnotations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:
      None

      Description

      output:
      java.beans.ConstructorProperties
         java.beans.ConstructorProperties (rt.jar)
            -> java.lang.Object rt.jar
            -> java.lang.String rt.jar
            -> java.lang.annotation.Annotation rt.jar
            -> java.lang.annotation.Documented rt.jar
            -> java.lang.annotation.Retention rt.jar
            -> java.lang.annotation.Target rt.jar


      while I was also expecting dependencies to
      java.lang.annotation.ElementType
      and
      java.lang.annotation.RetentionPolicy

      More feedbacks from Jeff Hains:
         http://mail.openjdk.java.net/pipermail/jigsaw-dev/2015-August/004456.html
         http://mail.openjdk.java.net/pipermail/jigsaw-dev/2015-September/004464.html

      jdeps should report the list of class names matching the list that are needed during compilation as closely as possible. It may be useful to have an option to choose types that are needed at runtime vs all types including annotations.

        Attachments

          Activity

            People

            • Assignee:
              bchristi Brent Christian
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: