Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows
Description
'java -help' command prints the following
Harmony Java launcher
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
and sets ERRORLEVEL to 1 instead of printing a help message with a list of possible options and returning 0 as exit value.
'java -X' doesn't work too.
I've tried svn = r537794, (May 14 2007), Windows/ia32/msvc 1310, release build
Affected tests:
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1010/exec1010.xml
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1011/exec1011.xml
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1012/exec1012.xml
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1013/exec1013.xml
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1014/exec1014.xml
functional/org/apache/harmony/test/func/api/java/lang/Runtime/exec/exec10/exec1015/exec1015.xml
functional/org/apache/harmony/test/func/vm/cli/X/X.xml
(see HARMONY-3528)