RFR: 8298108: Add a regression test for JDK-8297684 [v6]
Sean Mullan
mullan at openjdk.org
Wed Dec 7 14:12:26 UTC 2022
On Tue, 6 Dec 2022 17:48:21 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> Please review this test addition as it would have helped discover a regression when https://bugs.openjdk.org/browse/JDK-8269039 got introduced and subsequently backported. What's more, it might help discover similar issues going forward. Thoughts?
>>
>> Testing: Manually produced a build without [JDK-8269039](https://bugs.openjdk.org/browse/JDK-8269039). Test fails without the fix, passes after.
>
> Severin Gehwolf has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix copyright.
The fix has caused a regression on the Windows x64 platform and is affecting tier2 testing. I'll file a bug shortly. Here is a snippet from the log file:
stderr: [Exception in thread "main" java.lang.RuntimeException: Test failed with signed jar and argument java.locale.providers=SPI
at TestSPISigned.doRunTest(TestSPISigned.java:115)
at TestSPISigned.main(TestSPISigned.java:75)
Caused by: java.lang.RuntimeException: Expected calendar from SPI to be in effect: expected 4 to equal 1
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at TestSPISigned.check(TestSPISigned.java:121)
at TestSPISigned.doRunTest(TestSPISigned.java:112)
... 1 more
-------------
PR: https://git.openjdk.org/jdk/pull/11515
More information about the security-dev
mailing list