RFR: 8277165: jdeps --multi-release --print-module-deps fails if module-info.class in different versioned directories

Jorn Vernee jvernee at openjdk.java.net
Tue Nov 23 21:19:39 UTC 2021


On Tue, 23 Nov 2021 20:54:55 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> jdeps intends to report an error if there are multiple versions of the same class being parsed.   module-info.class should be excluded from such detection.
> 
> This patch also fixes a data race in `VersionHelper::set` and also unwraps the `ExecutionException` when FutureTask of parsing the classes throws an exception to report `MultiReleaseException` properly.

LGTM. Thanks for fixing.

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

Marked as reviewed by jvernee (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/6530


More information about the compiler-dev mailing list