> On Oct 28, 2015, at 4:56 AM, Mark Sheppard <mark.shepp...@oracle.com> wrote: > > dynamic update of host / ip mappings updates are accommodated as seen per the > tests > http://cr.openjdk.java.net/~msheppar/8134577/webrev/test/sun/net/InetAddress/nameservice/simple/DefaultCaching.java.sdiff.html > http://cr.openjdk.java.net/~msheppar/8134577/webrev/test/sun/net/InetAddress/nameservice/simple/CacheTest.java.sdiff.html
Oh, I would say the old SimpleNameService class is quite good. Since the current fix is meant for test only and the new system property is called jdk.internal something, can we just introduce an internal method that looks like SimpleNameService? Who wants to use it can add "@modules java.base/jdk.internal.net.SimpleNameService". Yes I know this is quite against API encapsulation, but so is the internal system property. Thanks Max