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

sjavac does not properly track dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • b13
    • Verified

      SJavac does not properly track dependencies to classes through fully qualified references.
      Thus "import alfa.A; ... { A a; ...}" triggers a dependence on alfa.A as expected.
      But "... { alfa.A a; .... }" does not.

      The fix requires tapping identifiers inside Attr.java and a reportDependence is added to Attr.java in the same way as reportDependence was added to Resolve.java


       

            alundblad Andreas Lundblad (Inactive)
            ohrstrom Fredrik Öhrström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: