RFR: JDK-8134577 - Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServiceDescriptor

Wang Weijun weijun.wang at oracle.com
Mon Oct 26 01:57:23 UTC 2015

I see a lot of krb5 tests modified.

Basically, the NameServiceDescriptor inside KDC.java maps everything to localhost except for one (I guess Artem invented the 2nd feature). Can we expand the grammar a little bit to support this? For example:

  not.existing.host UnknownHostException

I see you've added all names the tests have touched in test/sun/security/krb5/auto/hosts, but I am not sure if we might add randomly generated hostnames in any test later.

BTW, the standard /etc/hosts has lines like " localhost" which has a different order than yours. Shall we rename hosts to something else so that people does not get confused?


>> http://cr.openjdk.java.net/~msheppar/8134577/webrev/
>> which address the issue raised in
>> https://bugs.openjdk.java.net/browse/JDK-8134577

More information about the security-dev mailing list