Re: RFR: 8348986: Improve coverage of enhanced exception messages [v2]

2025-03-15 Thread Andrey Turbanov
On Thu, 6 Mar 2025 10:46:11 GMT, Michael McMahon wrote: >> Hi, >> >> Enhanced exception messages are designed to hide sensitive information such >> as hostnames, IP >> addresses from exception message strings, unless the enhanced mode for the >> specific category >> has been explicitly enabl

Re: RFR: 8351322: Parameterize link option for pthreads

2025-03-15 Thread Magnus Ihse Bursie
On Thu, 6 Mar 2025 17:28:10 GMT, snake66 wrote: >> make/autoconf/libraries.m4 line 142: >> >>> 140: # Threading library >>> 141: if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" >>> = xaix; then >>> 142: BASIC_JVM_LIBS="$BASIC_JVM_LIBS $(LIBPTHREAD)" >> >> If you sp

Re: RFR: 8351339: WebSocket::sendBinary assume that user supplied buffers are BIG_ENDIAN [v2]

2025-03-15 Thread Volkan Yazici
On Thu, 13 Mar 2025 18:58:15 GMT, Mark Sheppard wrote: >> src/java.net.http/share/classes/jdk/internal/net/http/websocket/Frame.java >> line 105: >> >>> 103: * The source and the destination buffers may be the same >>> instance. >>> 104: */ >>> 105: static void mask(B

RE: Suggestion needed to port the fix to JDK17 and JDK11S

2025-03-15 Thread Shruthi .
The issue which we are seeing is not reproducible in JDK21 or higher version From: Alan Bateman Sent: Friday, March 14, 2025 1:09 PM To: Shruthi . ; net-dev@openjdk.org Cc: Syed Moinudeen ; SREENIVAS MAKINEEDI Subject: [EXTERNAL] Re: Suggestion needed to port

Re: RFR: 8351322: Parameterize link option for pthreads [v2]

2025-03-15 Thread duke
On Sat, 8 Mar 2025 13:39:44 GMT, snake66 wrote: >> Replace hardcoded instances of `-lpthread` with `$(LIBPTHREAD)`, so that >> it's possible to parameterize this for platforms that use different flags >> for enabling posix threads. >> >> This work is a continuation of the work done by Greg Lew

Re: Bug in java.net.http.WebSocket (?)

2025-03-15 Thread Daniel Fuchs
Hi Simon, On 05/03/2025 22:05, Simon Fischer wrote: But back to the actual problem here: Websockets, as any layered network protocol, need to be transparent. I transfer a binary message (which is a byte blob, in case of the WebSocket API its a ByteBuffer) to the websocket layer, which uses th

Re: RFR: 8351322: Parameterize link option for pthreads

2025-03-15 Thread Erik Joelsson
On Thu, 6 Mar 2025 10:39:27 GMT, snake66 wrote: > Replace hardcoded instances of `-lpthread` with `$(LIBPTHREAD)`, so that it's > possible to parameterize this for platforms that use different flags for > enabling posix threads. > > This work is a continuation of the work done by Greg Lewis in