[
https://issues.apache.org/jira/browse/SANDBOX-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Torsten Curdt closed SANDBOX-320.
---------------------------------
Resolution: Won't Fix
Assignee: Torsten Curdt
This is a known issue. The one test fails as the BCEL rewriter does not support
synchronization. The ASM one does.
In order for this test to pass one would have to fix the BCEL rewrite code. But
it's deprecated already. So unless someone is eager I'd say - won't fix.
> IllegalMonitorStateException when building the project from trunk
> -----------------------------------------------------------------
>
> Key: SANDBOX-320
> URL: https://issues.apache.org/jira/browse/SANDBOX-320
> Project: Commons Sandbox
> Issue Type: Bug
> Components: Javaflow
> Environment: Ubuntu 9.10,
> OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu1)
> OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
> Also happens with Sun JDK
> Reporter: Barak Naveh
> Assignee: Torsten Curdt
> Attachments: build.log
>
>
> After checking out from svn, I tried to build using "svn package". I'm
> getting IllegalMonitorStateException from the BcelTestSuite unit test. Ideas?
> Stack trace follows:
> java.lang.IllegalMonitorStateException
> at
> org.apache.commons.javaflow.rewrite.SimpleSynchronized.run(SimpleSynchronized.java:22)
> at
> org.apache.commons.javaflow.bytecode.StackRecorder.execute(StackRecorder.java:96)
> at
> org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:168)
> at
> org.apache.commons.javaflow.Continuation.continueWith(Continuation.java:139)
> at
> org.apache.commons.javaflow.suite.VerificationTestCase.testSimpleSynchronized(VerificationTestCase.java:212)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:164)
> at junit.framework.TestCase.runBare(TestCase.java:130)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.