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

Jorn Vernee jvernee at openjdk.org
Wed Jun 19 21:16:47 UTC 2024


On Wed, 19 Jun 2024 18:57:43 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> I can do that, but I think this will always be a bit awkward since these types don't have a common super type that exposes the needed information.
>
>> these types don't have a common super type that exposes the needed information
> 
> No wait, they actually do :) That's just `MemberRefEntry`.

I was able to eliminate this method entirely, now the caller just creates a `MethodRef` and passes that to the other `isRestrictedMethod` overload.

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

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


More information about the build-dev mailing list