JDK-8033180 : An inappropriate newline symbol in the help section
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 8
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-01-29
  • Updated: 2014-07-30
  • Resolved: 2014-01-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b03Fixed
Description
Several lines of the help section are separated by "0A" new line symbol that does not correspond to the OS (should be "0D 0A" for Windows).

Usage: javap <options> <classes>
where possible options include

55 73 61 67 65 3A 20 6A 61 76 61 70 20 3C 6F 70 
74 69 6F 6E 73 3E 20 3C 63 6C 61 73 73 65 73 3E 
0A 77 68 65 72 65 20 70 6F 73 73 69 62 6C 65 20 
6F 70 74 69 6F 6E 73 20 69 6E 63 6C 75 64 65 

-package                 Show package/protected/public classes
                           and members (default)

-sysinfo                 Show system info (path, size, date, MD5 hash)
                           of class being processed
Comments
Yes, there is systemic failure to generate platform newlines in the help and verbose output (i.e. the output not related to classfile contents).
29-01-2014

Wow. Oops. I thought we had platform newlines sorted. Well spotted.
29-01-2014