As it seems there is no easy way to comment on a JDK bug:

After testing what was written in the comment of

https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8361305

I think the writer is correct, everything works as expected/specified here. I wrongly assumed ws:// would do something different but can confirm that using ws:// instead of http works. One might argue that http can be an alias to ws:// but I'm not sure its worth a change here as it is only a little inconvenience to have to use two different URI if the endpoint supports both http+ws

Reply via email to