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

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Jun 19 18:00:14 UTC 2024


On Wed, 19 Jun 2024 17:25:07 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> src/jdk.jdeps/share/classes/com/sun/tools/jnativescan/RestrictedMethodFinder.java line 43:
>> 
>>> 41: import java.util.*;
>>> 42: 
>>> 43: class RestrictedMethodFinder {
>> 
>> The name of this is a bit confusing as this class looks for both restricted methods and JNI decls
>
> True. How about `NativeAccessFinder`?

Good name

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

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


More information about the build-dev mailing list