Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 42751 invoked from network); 5 Mar 2007 10:28:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 10:28:12 -0000 Received: (qmail 40780 invoked by uid 500); 5 Mar 2007 10:28:20 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 40741 invoked by uid 500); 5 Mar 2007 10:28:20 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 40732 invoked by uid 99); 5 Mar 2007 10:28:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 02:28:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 02:28:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F146C71433C for ; Mon, 5 Mar 2007 02:27:50 -0800 (PST) Message-ID: <18209056.1173090470986.JavaMail.jira@brutus> Date: Mon, 5 Mar 2007 02:27:50 -0800 (PST) From: "Paulex Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3293) [classlib]-Failed to create a new VM when passing the option of "-verify" in some eclipse tests In-Reply-To: <24756547.1173090230688.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.