JDK-8156650 : Simplify Text message support in WebSocket API
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-05-10
  • Updated: 2017-06-28
  • Resolved: 2016-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b123Fixed
Related Reports
Relates :  
Description
In order to simplify handling of Text messages for both the user and the default implementation:

1. Substitute java.net.http.WebSocket.Text type with java.lang.CharSequence
2. Remove method CompletableFuture<Void> sendText(ByteBuffer message, boolean isLast)
3. Update spec guarantees on CharSequences received and sent.