RFR 8202292 : test/jdk/java/io/FileOutputStream/UnreferencedFOSClosesFd.java fails with "raw fd count wrong"

Brian Burkhalter brian.burkhalter at oracle.com
Thu Jun 21 19:25:29 UTC 2018


Hi Roger,

Are the three versions of listProcFD() identical? Is so, could this method be put in test/lib/jdk/test/lib/util/FileUtils.java instead?

Thanks,

Brian

On Jun 21, 2018, at 11:59 AM, Roger Riggs <Roger.Riggs at Oracle.com> wrote:

> Please review a test improvement to avoid spurious errors caused by concurrent changes in open files during the test.
> The other existing conditions in the test are sufficient to verify the correct finalize behavior.
> Some additional diagnostics are added and the tests removed from the problem list.
> 
> Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-count-wrong-8202292/index.html
> 
> Issue:
>   https://bugs.openjdk.java.net/browse/JDK-8202292



More information about the core-libs-dev mailing list