[jdk11u] Integrated: 8309476: [11u] tools/jmod/hashes/HashesOrderTest.java fails intermittently

Christoph Langer clanger at openjdk.org
Tue Jun 13 06:33:52 UTC 2023


On Wed, 7 Jun 2023 05:32:24 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> The test 'tools/jmod/hashes/HashesOrderTest.java', introduced by [JDK-8240903](https://bugs.openjdk.org/browse/JDK-8240903), was backported to 11.0.17 via [JDK-8287791](https://bugs.openjdk.org/browse/JDK-8287791). However, JDK11 doesn't support specifying "--date". This appears to be needed in order to make the test reliable. The hashes of two jmod files may differ if the timestamp differs.
> 
> The "--date" option was implemented with [JDK-8276766](https://bugs.openjdk.org/browse/JDK-8276766) for JDK 19 and has only been backported to JDK 17. It is a feature that comes with a CSR and might not be worthwile doing for the JDK11 updates release. For now, the test should be marked as @intermittent until [JDK-8276766](https://bugs.openjdk.org/browse/JDK-8276766) is brought to JDK11 updates.

This pull request has now been integrated.

Changeset: 0770b1f0
Author:    Christoph Langer <clanger at openjdk.org>
URL:       https://git.openjdk.org/jdk11u/commit/0770b1f04fed2d6e59ef15a872b4806f2d4767b9
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8309476: [11u] tools/jmod/hashes/HashesOrderTest.java fails intermittently

Reviewed-by: mdoerr

-------------

PR: https://git.openjdk.org/jdk11u/pull/72


More information about the jdk-updates-dev mailing list