RFR: 8378378: Remove references to obsolete jdk.net.usePlainDatagramSocketImpl property from tests

Jaikiran Pai jpai at openjdk.org
Mon Feb 23 01:21:46 UTC 2026


On Mon, 23 Feb 2026 01:14:28 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this test-only change which removes reference to the obsolete `jdk.net.usePlainDatagramSocketImpl` property?
> 
> This property and the related fallback support was removed in https://bugs.openjdk.org/browse/JDK-8253119. The property plays no role anymore. The tests continue to pass after this change.

test/jdk/com/sun/jndi/dns/ConfigTests/PortUnreachable.java line 39:

> 37:  * @library ../lib/
> 38:  * @modules java.base/sun.security.util
> 39:  * @run main PortUnreachable

The `othervm` was introduced when that property was added to this test. I haven't spotted anything else in this test that requires a `othervm`, so I have removed that part too.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29871#discussion_r2838753438


More information about the net-dev mailing list