[jdk21u-dev] Integrated: 8338748: [17u,21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813
SendaoYan
syan at openjdk.org
Tue Sep 10 08:03:09 UTC 2024
On Wed, 21 Aug 2024 15:48:49 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
> Test `java/nio/channels/DatagramChannel/Disconnect.java` compile error: `cannot find symbol InetAddress.ofLiteral` after JDK-8299813. There is no `InetAddress.ofLiteral` API in jdk21u and jdk17u, the `InetAddress.ofLiteral` API was added by [JDK-8272215](https://bugs.openjdk.org/browse/JDK-8272215) in jdk22.
> Change `InetAddress.ofLiteral`to `InetAddress.getByName`, change has been verified, test fix only, no risk.
This pull request has now been integrated.
Changeset: ad5656f7
Author: SendaoYan <syan at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/ad5656f7fa53e7d380dbadc204501c3c7f2e822a
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8338748: [17u,21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813
Reviewed-by: sgehwolf
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/939
More information about the jdk-updates-dev
mailing list