RFR [8011537]: (fs) Path.register(..) clears interrupt status of thread with no InterruptedException
Alan Bateman
Alan.Bateman at oracle.com
Tue May 6 15:02:09 UTC 2014
On 06/05/2014 15:52, Ivan Gerasimov wrote:
> I tried to make the added test consistent with the rest of the code.
> I can surely rewrite it, but should I refactor other code as well then?
I think the the existing tests pre-date the vararg variant of register,
there isn't a big need to change those.
For the new test then it would be good to use try-with-resources here.
It would be good to change testExceptions too but not important for this
change.
-Alan.
More information about the nio-dev
mailing list