simplify sjavac dependence on javac dependency gathering

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b35
    • Verified

        Currently, sjavac depends on being able to override methods in JavaCompiler and Attr to collect dependencies. This gives rise to sjavac using two classes
            com.sun.tools.sjavac.comp.AttrWithDeps
            com.sun.tools.sjavac.comp.JavaCompilerWithDeps

        Although that was intentional at the time, there is now a sense that it would be better to provide a hook or listener interface in javac that sjavac can use.

              Assignee:
              Andreas Lundblad (Inactive)
              Reporter:
              Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: