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

Jaikiran Pai jpai at openjdk.java.net
Thu Nov 25 02:25:04 UTC 2021


On Wed, 24 Nov 2021 17:06:41 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.
>
> Mandy Chung has updated the pull request incrementally with one additional commit since the last revision:
> 
>   minor fix to avoid casting

Hello Mandy, one small issue - `ClassFileReader`, `DependencyFinder` and `VersionHelper` are misisng a copyright year update for this change.

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

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


More information about the core-libs-dev mailing list