问题描述
下载了下面版本的djunit,jdk1.7运行时报错(提示堆栈形状不一致),jdk1.6运行时正常,是因为不支持jdk1.7的关系吗?去djunit官网看了下,也没明确说不支持,不过运行环境只写到了java6。有人了解的吗?版本:jp.co.dgic.eclipse.jdt.djunit_3.5.x_0.8.6错误消息:java.lang.VerifyError:JVMVRFY012スタックの形状が不整合です;class=jp/co/mlisystems/wn/green/service/service/impl/DjunitDemo、method=testDemo(I)V、pc=17atjava.lang.J9VMInternals.verifyImpl(NativeMethod)atjava.lang.J9VMInternals.verify(J9VMInternals.java:94)atjava.lang.J9VMInternals.initialize(J9VMInternals.java:171)atjp.co.mlisystems.wn.green.service.service.impl.DefaultKeiyakuGaiyoServiceTest.testTestDemo(DefaultKeiyakuGaiyoServiceTest.java:6)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)atjava.lang.reflect.Method.invoke(Method.java:618)atjunit.framework.TestCase.runTest(TestCase.java:176)atjunit.framework.TestCase.runBare(TestCase.java:141)atjunit.framework.TestResult$1.protect(TestResult.java:122)atjunit.framework.TestResult.runProtected(TestResult.java:142)atjunit.framework.TestResult.run(TestResult.java:125)atjunit.framework.TestCase.run(TestCase.java:129)atjunit.framework.TestSuite.runTest(TestSuite.java:255)atjunit.framework.TestSuite.run(TestSuite.java:250)atorg.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)atorg.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)atorg.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)atorg.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)atorg.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)atorg.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)atorg.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)atjava.lang.reflect.Method.invoke(Method.java:618)atjp.co.dgic.eclipse.jdt.internal.junit.runner.DJUnitRunner.main(DJUnitRunner.java:49)