Code Review 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build

Christopher Hegarty -Sun Microsystems Ireland Christopher.Hegarty at Sun.COM
Tue Mar 16 10:22:43 PDT 2010


Alan, Michael,

java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with 
modules build because number of open file descriptors exceeds 20. 
Instead of a hardcoded number, the test should check the number of file 
descriptors does not increase much before and after its work.

Also, run in othervm so that the file descriptors in the particular 
process will be consistent.

Webrev:
   http://cr.openjdk.java.net/~chegar/6935233/webrev.00/webrev/

-Chris.



More information about the net-dev mailing list