JDK-8163008 : Eliminate methods in the WorkArounds.java
  • Type: Task
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: tbd_major
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2016-08-02
  • Updated: 2023-11-02
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.
Other
tbd_majorUnresolved
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8163307 :  
JDK-8163310 :  
JDK-8163332 :  
JDK-8163386 :  
JDK-8163388 :  
JDK-8163389 :  
JDK-8163390 :  
JDK-8163391 :  
JDK-8163392 :  
JDK-8163393 :  
JDK-8163394 :  
JDK-8163395 :  
Description
There are several methods parked in the WorkArounds.java on the doclet side.
These methods and implementations basically violate the cardinal dependency rule, that is the doclet should only rely on the public APIs provided by the Doclet, Compiler Tree APIs, and the JDK platform APIs. 

However, these methods allow the Standard Doclet to get inside the javac internals.

There are 5 categories of these "violations" or "issues"

A. the issue should be implemented as a public API javax.lang.model       [Model API]
B. the issue should be implemented as a public in Compiler Tree APIs     [Tree Api]
C. the issue should be implemented as a public API in the javadoc APIs   [Doclet API]
D. the issue should be addressed as a bug fix in javax.lang.model           [Model bug]
E. the issue should be addressed entirely within a doclet                          [Doclet]



Comments
http://hg.openjdk.java.net/jdk9/dev/langtools/file/a8dde57edb12/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java
02-08-2016