Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2013-01-09 Thread Deven You
Hi Michael, Any progress in the review of this CCC request? Thanks a lot! On 11/23/2012 11:50 PM, Michael McMahon wrote: Hi Deven The CCC request is entered on the system but not reviewed yet. I will get back to you next week after the US break. - Michael. On 23/11/12 08:10, Deven You wrote:

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-11-23 Thread Michael McMahon
Hi Deven The CCC request is entered on the system but not reviewed yet. I will get back to you next week after the US break. - Michael. On 23/11/12 08:10, Deven You wrote: Hi Michael, Is there any progress for the CCC request? I hope we can get some update from you. Thanks a lot! On 08/03/

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-11-23 Thread Deven You
Hi Michael, Is there any progress for the CCC request? I hope we can get some update from you. Thanks a lot! On 08/03/2012 03:29 PM, Deven You wrote: Hi Michael, Any suggestion or comments for this issue? Thanks a lot! On 08/01/2012 01:49 PM, Deven You wrote: Hi Michael, I have submitted

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-08-03 Thread Deven You
Hi Michael, Any suggestion or comments for this issue? Thanks a lot! On 08/01/2012 01:49 PM, Deven You wrote: Hi Michael, I have submitted a sun bug 7188315. I do not know about CCC request, if needed, please conduct me to request it. Thanks a lot! On 07/31/2012 05:32 PM, Michael McMahon

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-31 Thread Deven You
Hi Michael, I have submitted a sun bug 7188315. I do not know about CCC request, if needed, please conduct me to request it. Thanks a lot! On 07/31/2012 05:32 PM, Michael McMahon wrote: Deven Is there a bugid for this? We need to submit a CCC request also to make the spec change. Thanks

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-31 Thread Michael McMahon
Deven Is there a bugid for this? We need to submit a CCC request also to make the spec change. Thanks Michael On 31/07/12 08:14, Deven You wrote: Hi Michael, Thanks for your review, I have updated the patch[1] according to your comments. [1] http://cr.openjdk.java.net/~youdwei/ojdk-527/w

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-31 Thread Deven You
Hi Michael, Thanks for your review, I have updated the patch[1] according to your comments. [1] http://cr.openjdk.java.net/~youdwei/ojdk-527/webrev.03/ Thanks a lot! On 07/25/2012 11:19 PM, Michael McMahon wrote: On 24/07/12 07:17

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-25 Thread Michael McMahon
On 24/07/12 07:17, Deven You wrote: Hi Alan and Michael, I add a java doc[1] for the new networkaddress.cache.localhost.ttl property. Please take a look when you have time. The change looks fine to me. There is a typo in the apidoc in InetAddress. "as as" should be "as an". Might as well co

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-23 Thread Deven You
Hi Alan and Michael, I add a java doc[1] for the new networkaddress.cache.localhost.ttl property. Please take a look when you have time. Again, I don't know how to set cachePolicyPropFallback/negativeCachePolicyPropFallback. Any suggestion please tell me. [1] http://cr.openjdk.java.net/~yo

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-12 Thread Deven You
Hi Alan and Michael, Thanks very much for your kind suggestions. I agree that local host shouldn't follow the default caching mechanism because the IP may change frequently. And I also think making the cache time configurable is a better solution. I am willing to make these changes including

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-11 Thread Michael McMahon
On 11/07/12 08:00, Alan Bateman wrote: On 05/07/2012 07:10, Deven You wrote: Hi All, I noticed that InetAddress.getLocalHost() uses cache to improve the performance. However the default implementation is caching local host within 5 seconds. From the spec, networkaddress.cache.ttl should be

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-11 Thread Alan Bateman
On 05/07/2012 07:10, Deven You wrote: Hi All, I noticed that InetAddress.getLocalHost() uses cache to improve the performance. However the default implementation is caching local host within 5 seconds. From the spec, networkaddress.cache.ttl should be used to control the cache behaviour and

Re: InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-09 Thread Deven You
Hi All, There is anybody notice this issue. Thanks a lot! On 07/05/2012 02:10 PM, Deven You wrote: Hi All, I noticed that InetAddress.getLocalHost() uses cache to improve the performance. However the default implementation is caching local host within 5 seconds. From the spec, networkaddres

InetAddress should utilize networkaddress.cache.ttl for getLocalHost() too

2012-07-04 Thread Deven You
Hi All, I noticed that InetAddress.getLocalHost() uses cache to improve the performance. However the default implementation is caching local host within 5 seconds. From the spec, networkaddress.cache.ttl should be used to control the cache behaviour and I think it is a better solution. For