You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2006/11/15 16:16:39 UTC

[jira] Updated: (HARMONY-2188) [drlvm + classlib] launcher exits with code 0 when it has nothing to do

     [ http://issues.apache.org/jira/browse/HARMONY-2188?page=all ]

Pavel Pervov updated HARMONY-2188:
----------------------------------

        Summary: [drlvm + classlib] launcher exits with code 0 when it has nothing to do  (was: [classlib][launcher] launcher exits with code 0 when run without parameters)
    Description: 
If no work-to-do is specified launcher should return 1.

$> java
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]
$> echo $?
0
--
while RI returns 1.

$> java -showversion
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r473668, (Nov 15 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
$> echo $?
0
--
while RI returns 1.


  was:
$> java
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]
$> echo $?
0
--
while RI returns 1.

P.S. Out of RI differs, but this is another story.


> [drlvm + classlib] launcher exits with code 0 when it has nothing to do
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-2188
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2188
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Pavel Pervov
>
> If no work-to-do is specified launcher should return 1.
> $> java
> 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]
> $> echo $?
> 0
> --
> while RI returns 1.
> $> java -showversion
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
> java version "1.5.0"
> pre-alpha : not complete or compatible
> svn = r473668, (Nov 15 2006), Windows/ia32/msvc 1310, debug build
> http://incubator.apache.org/harmony
> $> echo $?
> 0
> --
> while RI returns 1.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira