JDK-8157273 : Simplify outgoing messages queueing policy in WebSocket API
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2016-05-18
  • Updated: 2017-05-17
  • Resolved: 2016-06-28
Related Reports
Relates :  
Description
Currently API adheres to "one outstanding send operation" policy unconditionally. This is both restrictive for implementations and inconvenient for API users. Specify it's up to an implementation to decide a policy for an incomplete (outstanding) operations behaviour. For example, it might block after some number of messages has been enqueued, but not yet sent. Or it might throw an exception if there's even a single incomplete write. It might allow unbounded queueing, etc. [Provide unbounded queue for default implementation.]
Comments
The feature has been abandoned after a careful investigation. For more details see: http://mail.openjdk.java.net/pipermail/net-dev/2016-June/009925.html
28-06-2016