Re: RFR 8240666: Websocket client’s OpeningHandshake discards the HTTP response body

Pavel Rappo pavel.rappo at oracle.com
Wed May 6 13:26:10 UTC 2020


An assertion of the form

    assertEquals(true, ((String)wse.getResponse().body()).contains("404"));

looks odd. I'd suggest using any of

    assertTrue(boolean condition)
    assertTrue(boolean condition, String message)

-Pavel

> On 6 May 2020, at 14:12, Rahul <rahul.r.yadav at oracle.com> wrote:
> 
> http://cr.openjdk.java.net/~ryadav/webrev_8240666/webrev.00/index.html



More information about the net-dev mailing list