Add new print method to doclet Reporter interface

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 17
    • Affects Version/s: 17
    • Component/s: tools
    • None

      The jdk.javadoc.doclet.Reporter interface does not provide a means to report a diagnostic at a position in an arbitrary file that may be read by a doclet.

      We should add the following methods:

      void print(FileObject fo, int start, int pos, int end, String msg)
      default void print(FileObject fo, int pos, String msg) { print(fo, pos, pos, pos, msg); }

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

              Created:
              Updated:
              Resolved: