JDK-8048609 : simplify sjavac dependence on javac dependency gathering
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-06-27
  • Updated: 2015-06-04
  • Resolved: 2014-10-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b35Fixed
Related Reports
Relates :  
Description
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.