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

List:       openjdk-net-dev
Subject:    =?UTF-8?B?5Zue5aSN77yaIFJGUiAoWFMpIDgyMzc4MDY6IENvbnZlcnQgVElNRU9VVCBvZiBzdW4ubmV0?= =?UTF-8?B?LmRuc
From:       "Denghui Dong" <denghui.ddh () alibaba-inc ! com>
Date:       2020-01-24 9:53:09
Message-ID: 8f33a7e1-a6a2-4735-b4c2-367521f4a75b.denghui.ddh () alibaba-inc ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]


yes, you are right.




来自钉钉专属商务邮箱------------------------------------------------------------------
 发件人:Alan Bateman<Alan.Bateman@oracle.com>
日 期:2020年01月24日 17:34:30
收件人:Denghui Dong<denghui.ddh@alibaba-inc.com>; \
net-dev<net-dev@openjdk.java.net> 主 题:Re: RFR (XS) 8237806: Convert TIMEOUT \
of sun.net.dns.ResolverConfigurationImpl into property

     On 24/01/2020 09:22, Denghui Dong wrote:
 
Hi Alan,
  In our production environment, the content of /etc/resolv.conf may be modified \
because of some reason, and we found that JVM can't know it when it running.  There \
are some ways to fix this problem, one way is Adding \
-Dsun.net.spi.nameservice.provider.1=dns,sun to enable \
sun.net.dns.ResolverConfigurationImpl, but the TIMEOUT value is too long for us, so \
we hope to use a system property to control it.   If I read this correctly, you are \
running with -Dsun.net.spi.nameservice.provider.1=dns,sun so that InetAddress is \
using the DNS-only name service provider (based on JNDI-DNS), is that correct? Just \
checking because that mechanism was removed in JDK 9, maybe you are proposing this \
for jdk8u?

 -Alan


[Attachment #3 (text/html)]

<br>yes, you are right.<br><br><br><br><br><div id="bali-sign"><div \
style="font-family:PingFangSC-Regular;font-size:14px;color:#666;"><a \
style="color:#38adff; text-decoration:none;" \
href="(null)">来自钉钉专属商务邮箱</a></div></div><blockquote>------------------------------------------------------------------<br \
/>发件人:Alan Bateman&lt;Alan.Bateman@oracle.com&gt;<br />日 期:2020年01月24日 17:34:30<br \
/>收件人:Denghui Dong&lt;denghui.ddh@alibaba-inc.com&gt;; \
net-dev&lt;net-dev@openjdk.java.net&gt;<br />主 题:Re: RFR (XS) 8237806: Convert \
TIMEOUT of sun.net.dns.ResolverConfigurationImpl into property<br /><br /><html>  \
<head>  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    On 24/01/2020 09:22, Denghui Dong wrote:<br>
    <blockquote type="cite"
cite="mid:93030da9-8d1f-40e8-bbf5-556d933015ce.denghui.ddh@alibaba-inc.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div class="__aliyun_email_body_block">
        <div style="clear:both;"><span style="font-family:Microsoft
            Yahei;font-size:14.0px;color:#000000;">Hi Alan,</span></div>
        <div style="clear:both;">  In our production environment, the content of \
/etc/resolv.conf may be modified because of some reason, and we found that JVM can't \
know it when it running.<br>  There are some ways to fix this problem, one way is \
Adding -Dsun.net.spi.nameservice.provider.1=dns,sun  to enable \
sun.net.dns.ResolverConfigurationImpl, but</div>  <div style="clear:both;">the \
TIMEOUT value is too long for us,  so we hope to use a system property to control \
it.</div>  <br>
      </div>
    </blockquote>
    If I read this correctly, you are running with
    -Dsun.net.spi.nameservice.provider.1=dns,sun so that InetAddress is
    using the DNS-only name service provider (based on JNDI-DNS), is
    that correct? Just checking because that mechanism was removed in
    JDK 9, maybe you are proposing this for jdk8u?<br>
    <br>
    -Alan<br>
  </body>
</html>
<br></blockquote>



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

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