RFR: 8240903: Add a regression test for JDK-8240734 [v3]
Alan Bateman
alanb at openjdk.java.net
Fri Mar 25 11:57:50 UTC 2022
On Fri, 25 Mar 2022 05:16:28 GMT, Dongbo He <dongbohe at openjdk.org> wrote:
>> This creates a regression test for [JDK-8240734](https://bugs.openjdk.java.net/browse/JDK-8240734). This was once blocked
>> by a time stamp issue which has been resolved by: [JDK-8276766 ](https://bugs.openjdk.java.net/browse/JDK-8276766)
>>
>> We found the issue can be produced stably with at least 64 modules.
>> Note that we need to add the --date jmod option to avoid the timestamp issue.
>>
>> Testing:
>> Added test case fails without fix for JDK-8240734, and passes otherwise.
>> Tested with tier2 on linux x86.
>
> Dongbo He has updated the pull request incrementally with one additional commit since the last revision:
>
> Get date by 'date +%Y-%m-%dT%H:%M:%S%:z'
The existing tests for the jmod tool are in test/jdk/tools/jmod. HashesTest.java might provide inspiration to avoid introducing a shell test.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7948
More information about the core-libs-dev
mailing list