8013531: Provide a utility class in com.sun.tools.classfile to find field/method references

Mandy Chung mandy.chung at oracle.com
Tue Apr 30 15:04:48 UTC 2013

On 4/30/2013 7:50 AM, Alan Bateman wrote:
> 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.

Will make the change before I push.  I was thinking to update that too :)


More information about the core-libs-dev mailing list