Re: RFR: 8280494: (D)TLS signature schemes

2022-01-27 Thread Jie Fu
On Thu, 27 Jan 2022 22:06:21 GMT, Xue-Lei Andrew Fan wrote: > This update is to support signature schemes customization for individual > (D)TLS connection. Please review the CSR as well: > CSR: https://bugs.openjdk.java.net/browse/JDK-8280495 > RFE: https://bugs.openjdk.java.net/browse/JDK-8280

Re: RFR: 8274561: sun/net/ftp/TestFtpTimeValue.java timed out on slow machines [v2]

2021-09-30 Thread Jie Fu
On Thu, 30 Sep 2021 11:46:45 GMT, Ao Qi wrote: >> When we do fastdebug testing with -Xcomp, sun/net/ftp/TestFtpTimeValue.java >> timed out on slow machines. The parameter of setSoTimeout in the test should >> be set larger. > > Ao Qi has updated the pull request incrementally with one additiona

Re: RFR: 8274561: sun/net/ftp/TestFtpTimeValue.java timed out on slow machines

2021-09-30 Thread Jie Fu
On Thu, 30 Sep 2021 11:14:18 GMT, Ao Qi wrote: > When we do fastdebug testing with -Xcomp, sun/net/ftp/TestFtpTimeValue.java > timed out on slow machines. The parameter of setSoTimeout in the test should > be set larger. The copyright year? - PR: https://git.openjdk.java.net/jdk/

Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Jie Fu
On Fri, 28 May 2021 13:11:43 GMT, Chris Hegarty wrote: > The SCTP channel factory methods, namely SctpChannel::open, > SctpServerChannel::open, and SctpMultiChannel::open, are specified to throw > UnsupportedOperationException, if the SCTP protocol is not supported. > Currently, underlying pla

Withdrawn: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-27 Thread Jie Fu
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The f

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-27 Thread Jie Fu
On Thu, 27 May 2021 00:41:25 GMT, Jie Fu wrote: >>> if sctp is configured on a linux system would there exist a /proc/net/sctp >>> and have an entry in /proc/net/protocols ? >> >> No /proc/net/sctp and no entry in /proc/net/protocols. >> But I don't

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Thu, 27 May 2021 00:24:20 GMT, Jie Fu wrote: > > if sctp is configured on a linux system would there exist a /proc/net/sctp > > and have an entry in /proc/net/protocols ? > > No /proc/net/sctp and no entry in /proc/net/protocols. > But I don't think it'

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 15:41:26 GMT, Chris Hegarty wrote: > Maybe the machine in question has the libsctp.so.1 library, but the kernel > module is not loaded or something? Yes, you are right. We do have libsctp.so.1 and no kernel module. So what's your suggestion next? Thanks. - PR:

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 16:10:17 GMT, Mark Sheppard wrote: > if sctp is configured on a linux system would there exist a /proc/net/sctp > and have an entry in /proc/net/protocols ? No /proc/net/sctp and no entry in /proc/net/protocols. But I don't think it's the reason since it passed on another ma

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:58:47 GMT, Alan Bateman wrote: > `strace -f` should help, or just add trace message. Thanks for your help @AlanBateman . I got the following msg (Connection timed out). [pid 93582] socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP [pid 93557] <... futex resumed> ) = -1 ETI

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The f

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:50:01 GMT, Jie Fu wrote: > Do we know if the socket(IPPROTO_SCTP) or > setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? How can I get to know if the socket(IPPROTO_SCTP) or setsockopt(IPPROTO_SCTP/SCTP_EVENTS) is failing? Any suggestions? Thanks. ---

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 03:54:14 GMT, Jie Fu wrote: > Hi all, > > java/net/SctpSanity.java fails on some of our test machines due to Protocol > not supported. > The reason is that the test fails to detect all the cases when a machine > doesn't support SCTP. > > The f

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:17:18 GMT, Chris Hegarty wrote: > This is probably ok, but a little surprising. Can you say a more about the > machine setup? What do you mean by `setup`? And how can I get these setups? Thanks. - PR: https://git.openjdk.java.net/jdk/pull/4199

Re: RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-26 Thread Jie Fu
On Wed, 26 May 2021 14:23:20 GMT, Daniel Fuchs wrote: > I am intrigued - which exception do you get on the machine where SCTP is not > supported? Hi @dfuch , we got this exception, which was copied from the JBS. java.net.SocketException: Protocol not supported at jdk.sctp/sun.nio.ch.s

RFR: 8267353: java/net/SctpSanity.java fails due to Protocol not supported

2021-05-25 Thread Jie Fu
Hi all, java/net/SctpSanity.java fails on some of our test machines due to Protocol not supported. The reason is that the test fails to detect all the cases when a machine doesn't support SCTP. The fix just follows what are done in [1][2][3] to detect unsupported paltforms at the beginning. T

Re: RFR: 8256427: Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX [v2]

2020-11-16 Thread Jie Fu
On Tue, 17 Nov 2020 05:02:07 GMT, Christoph Langer wrote: >> The test com/sun/jndi/dns/ConfigTests/PortUnreachable.java is not working on >> AIX. >> >> It tests that when a DNS server is unreachable it fails quickly with a >> PortUnreachableException due to ICMP Destination Unreachable packets

Re: RFR: 8256427: Test com/sun/jndi/dns/ConfigTests/PortUnreachable.java does not work on AIX

2020-11-16 Thread Jie Fu
On Mon, 16 Nov 2020 22:28:08 GMT, Christoph Langer wrote: > The test com/sun/jndi/dns/ConfigTests/PortUnreachable.java is not working on > AIX. > > It tests that when a DNS server is unreachable it fails quickly with a > PortUnreachableException due to ICMP Destination Unreachable packets rece