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

reference to javac internals in Extern class

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 16
    • 17
    • tools

    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

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

              Dates

                Created:
                Updated:
                Resolved: