harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3615) [classlib][launcher] should print help message when run without class specified
Date Thu, 26 Apr 2007 05:53:16 GMT

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

Stepan Mishura commented on HARMONY-3615:
-----------------------------------------

The test org.apache.harmony.luni.tests.java.lang.ProcessBuilderTest  fails after applying
the patch .
See:
http://mail-archives.apache.org/mod_mbox/harmony-dev/200704.mbox/%3c7273946b0704251932v277b3049x7b036fa5164b42bc@mail.gmail.com%3e

Also please note: classlib build detects which exclude lists should be used by invoking VM
with version option (no class or jar are specified)

I've applied quick fix for commit r532301 by adding check for versionFlag:
-  if (mainClass == NULL && !isStandaloneJar) {
+  if (mainClass == NULL && !isStandaloneJar && !versionFlag) {

Could you verify if the fix works for you?

> [classlib][launcher] should print help message when run without class specified
> -------------------------------------------------------------------------------
>
>                 Key: HARMONY-3615
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3615
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Mikhail Fursov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: harmony-3615.diff
>
>
> When I run 'java.exe' I can see the following message:
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
> However if I run 'java.exe -Xmx32m' no message is printed. I think this is a bug and
user must see a message.

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