Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6814948
Votes 0
Synopsis (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
Category java:classes_nio
Reported Against
Release Fixed 7(b57)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 09-MAR-2009
Description
On rare occasions test/java/nio/channels/AsynchronousFileChannel/Lock.java fails, usually Solaris, when run by JPRT. Here's the exception:

Exception in thread "main" java.lang.RuntimeException: ExecutionException expected
        at Lock.testAsyncClose(Lock.java:131)
        at Lock.main(Lock.java:61)
Posted Date : 2009-03-09 17:36:13.0
Work Around
N/A
Evaluation
There is a timing bug in the AsynchronousFileChannel implementation that arises if the channel is closed at just around the time that a lock operation is initiated. Easy fix.
Posted Date : 2009-03-09 17:36:13.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang