[jdk17u-dev] RFR: 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Goetz Lindenmaier
goetz at openjdk.org
Fri Mar 22 08:20:27 UTC 2024
On Tue, 19 Mar 2024 15:45:08 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 17 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 case passes
>>
>> Thanks!
>
> GHA Failures:
>
> - Unrelated RISC-V failure.
> - Unrelated test failures: ```java/lang/String/StringRepeat.java``` in ```jdk/tier1 part1```. I'm seeing these failures intermittently across all PRs.
Hi @SoniaZaldana, did you see the comment in the JBS issue?
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2305#issuecomment-2014586324
More information about the jdk-updates-dev
mailing list