8005473: Warnings compiling jaxp

Clean up compiling warnings.

Reviewed-by: weijun, chegar, forax
This commit is contained in:
Joe Wang 2012-12-27 18:17:58 -08:00
parent 9ee412031f
commit c04f299d28
4 changed files with 4 additions and 4 deletions

View file

@ -333,7 +333,7 @@ class XPathFactoryFinder {
providerClass.getDeclaredMethod(
"newXPathFactoryNoServiceLoader"
);
return creationMethod.invoke(null, null);
return creationMethod.invoke(null, (Object[])null);
} catch (NoSuchMethodException exc) {
return null;
} catch (Exception exc) {