[jdk11u-dev] Integrated: 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Sonia Zaldana Calles
szaldana at openjdk.org
Sun Apr 28 20:15:11 UTC 2024
On Mon, 18 Mar 2024 19:05:54 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:
> Hi all,
>
> This PR contains a backport of [6c0bebccb0092d9726eb89a054e023e92edf7ca6](https://github.com/openjdk/jdk/commit/6c0bebccb0092d9726eb89a054e023e92edf7ca6).
>
> 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 ```System.getProperty("os.name")```.
>
> Testing:
> - [x] Added test passes.
>
> Thanks!
This pull request has now been integrated.
Changeset: 7c047564
Author: Sonia Zaldana Calles <szaldana at openjdk.org>
Committer: Goetz Lindenmaier <goetz at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/7c047564b1038fa7e95b814447a4a7a1628fd14a
Stats: 75 lines in 1 file changed: 75 ins; 0 del; 0 mod
8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Reviewed-by: lucy
Backport-of: 6c0bebccb0092d9726eb89a054e023e92edf7ca6
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/2609
More information about the jdk-updates-dev
mailing list