Re: WebSocket

2018-02-18 Thread Chuck Davis
James, who taught you how to ruin other people's days? You seem to have mastered the art..😐 There seems to be a move afoot to abandon serialization.hummm. Then it needs to get fixed because converting everything to a text stream before transmitting is not an option (for me at least). Th

Re: WebSocket

2018-02-18 Thread James Roper
Hi Chuck, Let's just imagine that for a moment that there existed a reactive streams equivalent to an ObjectReader (there isn't, and there's good reason why there isn't, but I'll get to that later). Then, the code would be something like this (the Source API there is an Akka Streams like API): Ht

Re: WebSocket

2018-02-18 Thread Chuck Davis
There is a great hush here regarding strategy for putting the pieces back together so here goes my tirade. Following is based on assumption of a 100k payload. With jdk8: The decoder received a ByteBuffer bais = new ByteArrayInputStream(ByteBuffer.array()); // wrap the buffer -- optional method b

Re: RFR [11] 8058965 : Remove IPv6 support from TwoStacksPlainSocketImpl [win]

2018-02-18 Thread Chris Hegarty
Hi Ivan, > ... > Bug: https://bugs.openjdk.java.net/browse/JDK-8058965 > Webrev: http://cr.openjdk.java.net/~igerasim/8058965/00/webrev/ Thanks for taking this on. Of course you could go further ( remove some overrides that are now identical to the superclass ), but a steady incremental approach