Review request: JDK-8080108: [TEST_BUG] The case failed automatically and thrown java.lang.RuntimeException

Alexander Fomin alexander.fomin at oracle.com
Thu Jun 25 08:54:49 UTC 2015


Hello,

Please review the test bug fix
https://bugs.openjdk.java.net/browse/JDK-8080108

webrev attached. Either you can see it by the link
http://stt-13.ru.oracle.com/newroot/tmp/alex/regression/JDK-8080108/JDK9/dev/jdk/webrev/

The original test (com/sun/jndi/dns/IPv6NameserverPlatformParsingTest.java @bug 6991580) fails automatically if /etc/resolv.conf file doesn't contain IPv6 nameserver entries.
As far as we can't rely on "sudo" during regression tests execution we have to manually edit /etc/resolv.conf before the test run.
The test has to be run on non-Windows systems only.

Fix: provided standard test machinery for regression manual tests with instructions for a user; the test excluded for Windows.
Tested on Linux and Windows(to make sure it's excluded) with jtreg 4.2.

Thanks,
Alexander




More information about the core-libs-dev mailing list