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

Revisit com.sun.tools.javap.DisassemblerTool

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • tools

      While working on JDK-8236435 it was found that `com.sun.tools.javap.DisassemblerTool` shares a lot of its documentation with `javax.tools.JavaCompiler`. While the common bits are relevant to `JavaCompiler`, they are irrelevant to `DisassemblerTool`. This suggests copy-paste from the `JavaCompiler` to `DisassemblerTool`.

      `DisassemblerTool` does not belong to public API the same way `javax.tools.JavaCompiler` and `javax.tools.DocumentationTool` do. It doesn't seem to be implemented either (note that `com.sun.tools.javap.DisassemblerTool.DisassemblerTask` is implemented by `com.sun.tools.javap.JavapTask`).

      That said, the proposal is to investigate the possibility of removing that interface altogether. If removing proves impossible, we should at least fix the documentation.

            cstein Christian Stein
            prappo Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: