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: 6501543
Votes 0
Synopsis Username can have non-alphanumeric characters
Category java:build
Reported Against
Release Fixed 7(b26)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 6547593
Submit Date 06-DEC-2006
Description
Besides spaces and quotes, the USER or USERNAME could have non alphnumeric characters or even be non ISO-Latin.
Any use of the username to contruct make build id names should take this into account, may use
tr -c "[:alnum:]=" "[.*]"
to map the characters we don't want to see???
Posted Date : 2006-12-06 19:24:02.0
Work Around
N/A
Evaluation
There is some concern that maybe the solution should involve native2ascii so that the username characters are not turned into '.' but maybe something that could be transformed back into the real username?  Just a thought.
Posted Date : 2006-12-07 23:07:32.0

Could be a dup of 6547593
Posted Date : 2008-03-19 00:41:28.0

So 6547593 was about the name of the month being localized in the release string, which can be fixed by not using a month name but a month number. The other part of the version string is the username, which just needs to be filtered to only include alnum characters.
Posted Date : 2008-03-29 01:45:43.0

http://hg.openjdk.java.net/jdk7/build/jdk/rev/425096dc0fc8
Posted Date : 2008-04-01 17:40:05.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang