Re: RFR JDK-8156650: Simplify Text message support in WebSocket API

2016-06-06 Thread Roger Riggs
Hi Pavel, Removing the Text interface and its complexity is a good simplification. +1 Editorial: WebSocket.java: 378/379 could be improved: "This implementation passes only complete UTF-16 sequences to the {@code onText} method." Roger On 6/2/2016 2:07 PM, Pavel Rappo wrote: Hi, Could

RFR JDK-8156650: Simplify Text message support in WebSocket API

2016-06-02 Thread Pavel Rappo
Hi, Could you please review the following change for JDK-8156650? http://cr.openjdk.java.net/~prappo/8156650/webrev.01/ This change addresses some WebSocket API refinements and enhancements from [1]. 1. Remove method `WebSocket#sendText(ByteBuffer message, boolean isLast)` This API sees Text m