harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-3293) [classlib]-Failed to create a new VM when passing the option of "-verify" in some eclipse tests
Date Mon, 05 Mar 2007 10:27:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paulex Yang reassigned HARMONY-3293:
------------------------------------

    Assignee: Paulex Yang

> [classlib]-Failed to create a new VM when passing the option of "-verify" in some eclipse
tests
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3293
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3293
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports
>            Reporter: Sean Qiu
>         Assigned To: Paulex Yang
>
> When running the tests of package "org.eclipse.jdt.core.tests.compiler", it will failed
with below message.
> >>>>>>>>>>>>>>>>>>>>>>>>
> Unexpected target error running resulting class file for X.java: JVMJ9VM007E Command-line
option unrecognised: -verify HMYEXEL062E Internal VM error: Failed to create Java VM FAILED
to invoke JVM.
> junit.framework.AssertionFailedError: Unexpected target error running resulting class
file for X.java:
> JVMJ9VM007E Command-line option unrecognised: -verify
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.
> at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:445)
> at org.eclipse.jdt.core.tests.compiler.regression.AbstractRegressionTest.runConformTest(AbstractRegressionTest.java:317)
> at org.eclipse.jdt.core.tests.compiler.regression.TryStatementTest.test040(TryStatementTest.java:192)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestDecorator.run(TestDecorator.java:28)
> at org.eclipse.jdt.core.tests.util.CompilerTestSetup.run(CompilerTestSetup.java:48)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:24)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:40)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:213)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> at com.ibm.oti.vm.JarRunner.main(JarRunner.java:42)
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Passing the "-verify" directly to VM (both RI and IBM VME), they will failed.
> According to the spec, VM can only recognize the unkown option started with "-X" like
"-Xverify".
> http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/invocation.html#wp16334
> But if passing it to java launcher in RI, the launcher can handle it successfully.
> It seems that the launcher should convert "-verify" to "-Xverify" before passing to VM.

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