Re: [PING] Potential infinite waiting at JMXConnection#createConnection

2016-01-04 Thread Jaroslav Bachorik
Hi Yuji, On 4.1.2016 15:14, KUBOTA Yuji wrote: Hi all, Could you please review this patch? Sorry for the long delay. Shanliang has not been present for some time and probably this slipped the attention of the others. However, core-libs mailing list might be more appropriate place to revie

[PING] Potential infinite waiting at JMXConnection#createConnection

2016-01-04 Thread KUBOTA Yuji
Hi all, Could you please review this patch? Thanks, Yuji 2015-12-17 2:05 GMT+09:00 KUBOTA Yuji : > Hi all, > > If Shanliang cannot review, someone could review it? > > I reported this issue first at the below. > http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-April/002152.html > http://mail

Re: Potential infinite waiting at JMXConnection#createConnection

2015-12-16 Thread KUBOTA Yuji
Hi all, If Shanliang cannot review, someone could review it? I reported this issue first at the below. http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-April/002152.html http://mail.openjdk.java.net/pipermail/serviceability-dev/2015-May/017241.html Hope this patch helps to community. Thanks

Re: Potential infinite waiting at JMXConnection#createConnection

2015-12-10 Thread KUBOTA Yuji
Hi Shanliang and all, Sorry my reply is too late. But, finally, I reproduced this issue by following test program! :) Could you please review test program and my patch ? The test program includes some files, but I do not have an account of openjdk, so I push it on icedtea server as below. http:/

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread KUBOTA Yuji
Hi Shanliang, Thanks you for your help! RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE is a nice workaround. However, many users believe sun.rmi.transport.tcp.responseTimeout to specify the timeout, e.g. the second flush() of TCPChannel#createConnection [2]. In really, the first flush()[3] is not affected

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread KUBOTA Yuji
2015-05-06 19:48 GMT+09:00 Shanliang Jiang : > To reproduce the bug, I was thinking to use > RMI_SERVER_SOCKET_FACTORY_ATTRIBUTE to specify a user socket server, which > will not response any client connection request, I did not yet test this > solution. Thanks, I will try to reproduce with th

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread Shanliang Jiang
KUBOTA Yuji wrote: Hi Shanliang, Many thanks for your help! I do not have any role yet. So I can not create a new bug at JBS. It's a reason why I submitted a mail with my patch at first. This issue is caused by a rare network problem during the flush() [3] . I got this infinite loop only o

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread KUBOTA Yuji
Hi Shanliang, Many thanks for your help! I do not have any role yet. So I can not create a new bug at JBS. It's a reason why I submitted a mail with my patch at first. This issue is caused by a rare network problem during the flush() [3] . I got this infinite loop only once. So I will try to wri

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread Shanliang Jiang
Hi Yuji, I think better at first to create a bug at: https://bugs.openjdk.java.net/secure/Dashboard.jspa It looks like an issue for me, it must be possible to have a test to reproduce the issue. It is helpful to attach the test and present your solution in the bug. I can help if you need

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-06 Thread KUBOTA Yuji
My apologies for re-post, I forgot to register serviceability-dev before the last post. Hi Shanliang, Thanks you for your help! RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE is a nice workaround. However, many users believe sun.rmi.transport.tcp.responseTimeout to specify the timeout, e.g. the second flu

Re: Potential infinite waiting at JMXConnection#createConnection

2015-05-04 Thread Shanliang Jiang
Hi Yuji, (I reply to serviceability alias) When you create a RMI server connector, you can specify a RMIClientSocketFactory by RMI_CLIENT_SOCKET_FACTORY_ATTRIBUTE ,