RFR 8021820: Number of opened files used in select() is limited to 1024 [macosx]

Stuart Marks stuart.marks at oracle.com
Thu Aug 8 22:36:45 UTC 2013

On 8/8/13 1:54 AM, Chris Hegarty wrote:
> On 08/08/2013 03:11 AM, Jonathan Gibbons wrote:
>> On 08/07/2013 07:10 PM, Stuart Marks wrote:
>>> I'd suggest putting a comment at the top of the test class saying that
>>> this test *must* be run in othervm mode, to ensure that files are
>>> closed properly. That way, you can take out the cleanupFiles() method
>>> too, as well as avoiding lots of exception handling and related
>>> cleanup code.
>> Huh?   What's wrong with
>>      @run main/othervm classname
> I think what Stuart is suggesting is that '@run main/othervm classname' be
> added, but also an additional text comment explaining why this test is required
> to be run in othervm mode.

Yes, thanks, that's exactly what I meant.


More information about the build-dev mailing list