On Wed, 15 Jul 2026 11:44:18 GMT, Daniel Jeliński <[email protected]> wrote:
> Change the tests to use blocking sockets instead. > > This change removes the busy-looping on finishConnect, read, and write. The > change is safe because: > - finishConnect is no longer necessary, > - all uses of write() loop until wither all data is written or an error occurs > - read() is only used when additional data is expected. > > Tier2 still green. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). No idea. The original test (LargePacket) was introduced in 2006 by [JDK-6388456](https://bugs.openjdk.org/browse/JDK-6388456), and the other tests probably just copied that one. Today we would probably implement them without using any sockets. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31912#issuecomment-5030834127
