Re: possible bug in jdeps as ToolProvider

2021-12-21 Thread Mandy Chung
Your contribution is welcome but this may not be a starter bug.   The proper fix is to change it to per-jdeps-invocation map but not clearing the map.  I haven't put time to think through the best way to fix it cleanly. Mandy On 12/21/21 12:38 PM, Raymond Augé wrote: Mandy, would you accept

Re: possible bug in jdeps as ToolProvider

2021-12-21 Thread Mandy Chung
The issue has existed since the initial support of multi-release JARs (JDK-8153654 ) since JDK 9. Mandy On 12/20/21 7:38 PM, Raymond Augé wrote: I should add that I have reproduced this issue on Java 11 and 17. The ticket only indicates Java 1

Re: possible bug in jdeps as ToolProvider

2021-12-20 Thread Mandy Chung
Yes this bug is known and tracked by JDK-8277681.  The proper solution should make each JdepsTask to maintain its own map of multi-versioned entries rather than a global nameToVersion map for the running VM as described in JDK-8277681. Mandy On 12/18/21 7:47 PM, Raymond Augé wrote: Hello eve