Issue Details (XML | Word | Printable)

Key: DIRMINA-277
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Raman Gupta
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

Various tests block with JDK5 concurrent used in place of backport

Created: 03/Oct/06 12:47 PM   Updated: 11/Oct/06 06:59 AM
Return to search
Component/s: Transport
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works DIRMINA-277.patch 2006-10-04 05:34 PM Raman Gupta 0.7 kB
Text File Licensed for inclusion in ASF works DIRMINA-277.patch 2006-10-04 06:02 AM Raman Gupta 0.8 kB
Environment: Sun JDK 1.5.0_07 (Linux 2.6.17), Sun JDK 1.5.0_08 (Windows 2000), and Sun JDK 1.5.0_06 (Windows XP)

Resolution Date: 11/Oct/06 01:26 AM


 Description  « Hide
When running "mvn test" with all references to the concurrent backport removed, the tests block at:

org.apache.mina.transport.socket.nio.DatagramConfigTest

The stack dump shows the blocked thread is:

"main" prio=1 tid=0x082dedd0 nid=0x620d in Object.wait() [0xbfde4000..0xbfde6188]
       at java.lang.Object.wait(Native Method)
       - waiting on <0x88a07930> (a org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate$RegistrationRequest)
       at java.lang.Object.wait(Object.java:474)
       at org.apache.mina.common.support.DefaultIoFuture.join(DefaultIoFuture.java:86)
       - locked <0x88a07930> (a org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate$RegistrationRequest)
       at org.apache.mina.transport.socket.nio.DatagramConfigTest.testAcceptorFilterChain(DatagramConfigTest.java:73)
       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:585)
       at junit.framework.TestCase.runTest(TestCase.java:154)
       at junit.framework.TestCase.runBare(TestCase.java:127)
       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:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       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:585)
       at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
       at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
       at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
       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:585)
       at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
       at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.