[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-net-dev
Subject:    Re: RFR: JDK-8134577 - Eliminate or standardize a replacement for sun.net.spi.nameservice.NameServic
From:       Wang Weijun <weijun.wang () oracle ! com>
Date:       2015-10-29 2:08:20
Message-ID: 8D6810A3-EC43-4725-9EA3-C2CAC282FD04 () oracle ! com
[Download RAW message or body]


> On Oct 28, 2015, at 4:56 AM, Mark Sheppard <mark.sheppard@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic