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

Eliminate use of DocletConstants.NL

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd_minor
    • Component/s: tools
    • Labels:

      Description

      Currently, the doclet code uses DocletConstants.NL to represent an OS-specific newline -- i.e. System.getProperty("line.separator").

      It would be better if the code used \n internally, and converted to using NL on output, perhaps by scanning content and using println on each line.

      This would make the code less cumbersome, and would make the code catch all newlines (even those in user content) and translate them appropriately.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: