RFR: 8223196: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java fails on Solaris SPARC
Daniel Fuchs
daniel.fuchs at oracle.com
Tue Nov 26 17:35:54 UTC 2019
Hi,
Please find below a fix for:
8223196:
java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java
fails on Solaris SPARC
JBS: https://bugs.openjdk.java.net/browse/JDK-8223196
(though it was also observed failing on macOS once)
The test uses a mix of wildcard address and local host address
when setting up senders and receivers. There doesn't seem any
inherent reason why the test should use the wildcard, so this
fix changes the test to use InetAddress.getLocalHost() everywhere.
I haven't observed it failing since I did this change, though
I do observe it failing from time to time in its absence.
webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8223196/webrev.00/
best regards,
-- daniel
More information about the nio-dev
mailing list