JDK-6410000 : test/java/util/Locale/data/deflocale.exe regression test tool does not run on Windows Vista
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2006-04-06
  • Updated: 2010-04-03
  • Resolved: 2006-04-14
Related Reports
Duplicate :  
Description
The deflocale.exe tool is supposed to output Windows locale vs. Java's default locale to stdout.  However it fails to spawn java.exe process.  Probably Windows Vista's new security model disallows the test case to issue CreateProcess API.

Comments
EVALUATION Will fix this issue along with the bug 6409997.
14-04-2006

EVALUATION The reason was simply because GetCommandLine() API returns an extra space between the executable and the first argument on Vista, and the test tool was assuming there was only one space there. I am not sure this is a Vista bug or not, however, assuming a single space was not a good programming practice.
12-04-2006