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

simplify sjavac dependence on javac dependency gathering

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: