On 12/27/12 12:06 AM, Joe Wang wrote:
Hi,

This is a patch to clean up compiling warnings in jaxp.

Bug: http://bugs.sun.com/view_bug.do?bug_id=8005473
Webrev: http://cr.openjdk.java.net/~joehw/jdk8/8005473/webrev/

Thanks,
Joe

Hi Joe,

In FactoryFinder.java - line 213,
SchemaFactoryFinder.java - line 360,
XPathFactoryFinder.java - line 336,

I think you could simply do:

   return creationMethod.invoke(null);

since the second parameter is a varargs...

best regards,

-- daniel

Reply via email to