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

reference to javac internals in Extern class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:

      Description

      The following two imports are stylistically bad:

      $ grep -r javac.code open/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets
      open/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java:import com.sun.tools.javac.code.Flags;
      open/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Extern.java:import com.sun.tools.javac.code.Symbol.ModuleSymbol;

      The functionality should be moved to the WorkArounds class, until the functionality can be added to the `Elements` class.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: