8013531: Provide a utility class in com.sun.tools.classfile to find field/method references
Alan Bateman
Alan.Bateman at oracle.com
Tue Apr 30 14:50:20 UTC 2013
On 30/04/2013 06:05, Mandy Chung wrote:
> test/sun/reflect/CallerSensitive/MethodFinder.java is a useful utility
> class that jdeps or other tool can take advantage of. This fix moves
> MethodFinder.java to com.sun.tools.classfile and generalize it to find
> field, method, and interface method references.
>
> Webrev at:
> http://cr.openjdk.java.net/~mchung/jdk8/webrevs/8013531/
>
> thanks
> Mandy
This looks good to me.
A minor comment is that ReferenceFinder's ctor could uses
Objects.requiresNonNull.
-Alan.
More information about the core-libs-dev
mailing list