Thanks. The test passed now. But, can we print more helpful message in case of no args for java?
thanks, Vladimir On 4/26/07, Stepan Mishura <[EMAIL PROTECTED]> wrote:
On 4/26/07, Stepan Mishura wrote: > On 4/26/07, Vladimir Ivanov wrote: > > On 4/26/07, Stepan Mishura wrote: > > > On 4/26/07, Vladimir Ivanov wrote: > > > > Command 'java -version' does not work now on DRLVM: > > > > > > > > trunk> build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/java -version > > > > 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] > > > > trunk> > > > > > > > > > > > > Now DRL VM prints help message instead of version info. See commit r532301: > > > > > > Patch for HARMONY-3615 "[classlib][launcher] should print help message > > > when run without class specified" > > > > Thanks for your investigation. > > trunk> build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/java -version; echo $? > > 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] > > 1 > > trunk> > > > > Actually, I expect output similar to '-help' option. And I believe > > '-version' should finished with zero return code. > > Should we revert patch or wait for fix? > > > > I think I should be fixed - I'm running tests now to see if the fix works. > Fixed at r532613. Could you verify if the fix works for you? Thanks, Stepan. > > > thanks, Vladimir > > > > > > > > Thanks, > > > Stepan. > > > > > > > thanks, Vladimir > > > > > > > > On 4/26/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote: > > > > > The CC/CI systems report failure of the > > > > > org.apache.harmony.luni.tests.java.lang.ProcessBuilderTest on Win/Lnx > > > > > boxes with message: > > > > > Test: testStartClass: > > > > > org.apache.harmony.luni.tests.java.lang.ProcessBuilderTestjunit.framework.AssertionFailedError > > > > > at org.apache.harmony.luni.tests.java.lang.ProcessBuilderTest.testStart(ProcessBuilderTest.java:161) > > > > > at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java) > > > > > > > > > > Could someone reproduce/take care about this issue? > > > > > > > > > > thanks, Vladimir >