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

Mandy Chung mchung at openjdk.java.net
Fri Nov 26 01:59:07 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.

This pull request has now been integrated.

Changeset: 7e54d065
Author:    Mandy Chung <mchung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7e54d065a17f1277adf1b8561fadb8a480bc6bed
Stats:     301 lines in 11 files changed: 288 ins; 6 del; 7 mod

8277165: jdeps --multi-release --print-module-deps fails if module-info.class in different versioned directories
8277166: Data race in jdeps VersionHelper
8277123: jdeps does not report some exceptions correctly

Reviewed-by: jvernee, alanb

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

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


More information about the core-libs-dev mailing list