harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1
Date Fri, 25 May 2007 08:41:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498986
] 

Roman S. Bushmanov commented on HARMONY-3876:
---------------------------------------------

Two more tests from the functional test suite (see HARMONY-3528) fail because of wrong exit
code returned by commands 'java -help' and 'java -?'. 

functional/org/apache/harmony/test/func/vm/cli/help/help_01/help_01.xml
functional/org/apache/harmony/test/func/vm/cli/help/help_02/help_02.xml


> [classlib][launcher] 'java -help' does not print a list of options end returns 1 
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-3876
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3876
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows
>            Reporter: Roman S. Bushmanov
>
> '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
> (see HARMONY-3528)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message