You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Roman S. Bushmanov (JIRA)" <ji...@apache.org> on 2007/05/16 10:51:16 UTC

[jira] Created: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

[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
(see HARMONY-3528)

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


[jira] Updated: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman S. Bushmanov updated HARMONY-3876:
----------------------------------------

    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)

  was:
'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)


> [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
> functional/org/apache/harmony/test/func/vm/cli/X/X.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.


[jira] Commented: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-3876.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [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
>            Assignee: Alexey Petrenko
>
> '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)

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


[jira] Assigned: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-3876:
----------------------------------------

    Assignee: Alexey Petrenko

> [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
>            Assignee: Alexey Petrenko
>
> '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)

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


[jira] Updated: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman S. Bushmanov updated HARMONY-3876:
----------------------------------------

    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
(see HARMONY-3528)

  was:
'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
(see HARMONY-3528)


> [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.


[jira] Commented: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500139 ] 

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

All the mentioned tests passed on today's build. 
So I'm closing the issue. 

> [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
>            Assignee: Alexey Petrenko
>
> '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)

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


[jira] Closed: (HARMONY-3876) [classlib][launcher] 'java -help' does not print a list of options end returns 1

Posted by "Roman S. Bushmanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman S. Bushmanov closed HARMONY-3876.
---------------------------------------


> [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
>            Assignee: Alexey Petrenko
>
> '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)

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