Relates :
|
With jdk8/tl then we currently get the following warnings from the jaxp repo, it would be nice to clean these up. ## Starting jaxp Updating jaxp/dist/lib/src.zip Compiling 1877 files for BUILD_JAXP /u/alanb/ws/profiles/jaxp/src/com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java:1008: warning: non-varargs call of varargs method with inexact argument type for last parameter; Method method = clazz.getMethod(DOM_LEVEL3_METHOD, null); ^ cast to Class for a varargs call cast to Class[] for a non-varargs call and to suppress this warning /u/alanb/ws/profiles/jaxp/src/javax/xml/xpath/XPathFactoryFinder.java:336: warning: non-varargs call of varargs method with inexact argument type for last parameter; return creationMethod.invoke(null, null); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning /u/alanb/ws/profiles/jaxp/src/javax/xml/transform/FactoryFinder.java:213: warning: non-varargs call of varargs method with inexact argument type for last parameter; return creationMethod.invoke(null, null); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning /u/alanb/ws/profiles/jaxp/src/javax/xml/validation/SchemaFactoryFinder.java:360: warning: non-varargs call of varargs method with inexact argument type for last parameter; return creationMethod.invoke(null, null); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 warnings Creating jaxp/dist/lib/classes.jar ## Finished jaxp (build time 00:00:19)