[jdk11u-dev] Integrated: 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Sonia Zaldana Calles
szaldana at openjdk.org
Tue May 21 20:49:10 UTC 2024
On Tue, 23 Apr 2024 14:21:28 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:
> Hi all,
>
> This PR contains a backport of [43c6f0b5880899b797fab2f851bd35be1c342439](https://github.com/openjdk/jdk/commit/43c6f0b5880899b797fab2f851bd35be1c342439).
>
> Patch is not clean. Test won't build in 11 because it can't find ```import jdk.internal.util.OperatingSystem```.
>
> This class was introduced in 21 as part of [JDK-8303485](https://bugs.openjdk.org/browse/JDK-8303485).
>
> I've worked around that by removing the dependency to that utility function and checking the operating system with ```test/lib/jdk/test/lib/Platform.java```.
>
> Testing:
> - [x] Modified test case passes
>
> Thanks!
This pull request has now been integrated.
Changeset: b8ee2aa1
Author: Sonia Zaldana Calles <szaldana at openjdk.org>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/b8ee2aa15ab538f5a0623b391e1c64e5e63e167a
Stats: 50 lines in 1 file changed: 32 ins; 5 del; 13 mod
8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Reviewed-by: mdoerr
Backport-of: 43c6f0b5880899b797fab2f851bd35be1c342439
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2679
More information about the jdk-updates-dev
mailing list