8212132: (dc) Remove DatagramChannelImpl finalize method
Alan Bateman
Alan.Bateman at oracle.com
Wed Oct 23 20:30:54 UTC 2019
On 23/10/2019 10:52, Chris Hegarty wrote:
> :
> The difference is whether the test will be selected to-be-run by jtreg or not. SkippedException is fine, but it seems highly unlikely that UnixOperatingSystemMXBean will every be implemented on Windows, so the test in its current state just doesn’t make sense to be run on non-Unix platforms. The test is cute, it is a pity that it uses a mechanism that is known to not be supported on Windows.
We can add an @requires on the os.family so that it skips on Windows.
Maybe someday, they will be an equally useful MXBean to get the handle
as it is very useful for tests like this.
-Alan
More information about the nio-dev
mailing list