JDK-4710890 : native2ascii couldn't write content to existed file on windows
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.
in windows cmd shell, run it with two times:
c:\tmp> native2ascii <any native file> 1.txt
will get the information:
java.lang.Exception: 1.txt could not be written.
BugTraq+ Release Management Values
COMMIT TO FIX:
Bug determined to exist on win32 systems only.
See Workaround description. Fix in progress for 1.4.2
If run within shell environment (eg CygWin or MKS) write a shell wrapper
for native2ascii which determines if output filename already exists and
is writeable. The script should remove the output file if both conditions
are met before invoking the 1.4.1 native2ascii executable with the supplied