[jdk21u-dev] RFR: 8338748: [17u, 21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813 [v2]
SendaoYan
syan at openjdk.org
Tue Sep 10 06:42:13 UTC 2024
On Mon, 9 Sep 2024 14:14:29 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.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> change Inet4Address.getByName and Inet6Address.getByName to InetAddress.getByName
The GHA test [runner](https://github.com/sendaoYan/jdk21u-dev-ysd/actions/runs/10774948680/job/29907380098) report two failures:
1. ClhsdbDumpheap.java fails, which has been recorded by [JDK-8247940](https://bugs.openjdk.org/browse/JDK-8247940), it's unreleated to this PR.
2. ClhsdbFindPC.java#no-xcomp-process fails, which has been recorded by [JDK-8288429](https://bugs.openjdk.org/browse/JDK-8288429), it's unreleated to this PR.
Thanks all for the review and approved.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/939#issuecomment-2339792069
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/939#issuecomment-2339793356
More information about the jdk-updates-dev
mailing list