RFR: 8266250: WebSocketTest and WebSocketProxyTest call assertEquals(List<byte[]>, List<byte[]>)

Pavel Rappo prappo at openjdk.java.net
Wed Apr 28 22:51:50 UTC 2021


On Wed, 28 Apr 2021 21:22:23 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> It also avoids relying on an unspecified behavior of `Assert.assertEquals`.

Which behavior is that? If I recall correctly, the test was written for TestNG 6.9.5, which provides a [method to compare collections](https://github.com/cbeust/testng/blob/ef2d1199abff4e1b8fa4b1148c1314e776d7a044/src/main/java/org/testng/Assert.java#L508-L517).

-------------

PR: https://git.openjdk.java.net/jdk/pull/3776


More information about the net-dev mailing list