RFR: 8317611: Add a tool like jdeprscan to find usage of restricted methods [v3]
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Jun 19 21:16:46 UTC 2024
On Wed, 19 Jun 2024 19:59:19 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> src/jdk.jdeps/share/classes/com/sun/tools/jnativescan/JNativeScanTask.java line 76:
>>
>>> 74: URI location = m.reference().location().orElseThrow();
>>> 75: Path path = Path.of(location);
>>> 76: checkRegularJar(path);
>>
>> if exploded modules aren't supported (as discussed offline), maybe the error message generated here should be more specific?
>
> What do you suggest? Just a note in the error message that exploded modules/class paths are not supported?
Something like that yes
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19774#discussion_r1646692395
More information about the build-dev
mailing list