Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6627817
Votes 0
Synopsis Remove ^M characters in all files (Makefiles too)
Category java:build
Reported Against
Release Fixed 7(b25)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 09-NOV-2007
Description
The ^M characters should be cleared out of all text files. Only the .java. .c, .cpp, .h. and .hpp files have had the whitespace normalization done to them (makefiles were considered risky), but we should make sure all the text files are free of those pesky ^M characters.
Posted Date : 2007-11-09 01:58:12.0
Work Around
N/A
Evaluation
Need to scan for these files and correct them.
Posted Date : 2008-03-19 00:28:11.0

There are numerous non-ascii characters in the files that are perfectly valid ISO-Latin characters. The point of this bug was to catch any more obvious and unnecessary uses of the ^M characters.

This was used to see if a file contained non-printing characters:
   cat -v file | diff - file

This was used to see if the file only contained ^M characters:
   cat -v $i | sed -e 's@\^M@@g' | diff -w - $i
Posted Date : 2008-03-21 23:51:49.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang