RFR: 8317611: Add a tool like jdeprscan to find usage of restricted methods [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jun 20 16:10:13 UTC 2024


On Thu, 20 Jun 2024 11:38:26 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> src/jdk.jdeps/share/man/jnativescan.1 line 121:
>> 
>>> 119: .TP
>>> 120: \f[V]--release\f[R] \f[I]version\f[R]
>>> 121: Used to specify the Java SE release that specifies the set of restricted
>> 
>> In principle, the release could also affect which methods are native or not?
>
> Yes, but we don't warn on `native` method references, only on declarations. So, it would only affect which methods might be `native` in the user code. But I think that is already implied by the note on multi-release jars?

You are right... declarations inside the JDK are... inside the JDK

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19774#discussion_r1647820666


More information about the build-dev mailing list