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

Cleanup doclet instantiation

    XMLWordPrintable

Details

    Description

      Even after removing support for the old Doclet API (JDK-8215584, JDK-8219575, JDK-8219632) there are still echoes of the old world.

      See https://mail.openjdk.java.net/pipermail/javadoc-dev/2019-March/000937.html

      In particular,

      * there is almost-duplicated code to load a nominated class in Start.java, lines between 750-759 and 771-781

      * the code to load the class is in Start.preprocess, but the code to create an instance is in Start.begin. It would be better to move the instantiate code into preprocess, so that it returns a Doclet, not a Class<?>

      Attachments

        Issue Links

          Activity

            People

              pmuthuswamy Priya Lakshmi Muthuswamy (Inactive)
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: