JDK-4417527 : Line.close() method frequently causes crash.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.sound
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2001-02-21
  • Updated: 2001-08-22
  • Resolved: 2001-08-21
Related Reports
Relates :  
Description
The attached code will demonstrate this problem.
It simply:

1. Gets a list of all Source Lines supported by a given system.
2. Cycles through the list of lines opening then closing each in turn.

Eventually an invocation of the "close" method, will cause the system will hang.

This problem has been witnessed on all platforms.
This problem is a block to reliability testing.

Comments
EVALUATION ###@###.### 2001-08-21 Test code was changed as recommended, and subsequently run 100 times for over a half hour, using Merlin b77, passing all hundred times. It appears that this was simply a test bug.
21-08-2001