Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.7.1.1
-
None
Description
These warnings I only see if java15compile.classpath points to Java 6 class libraries (either set explicitly in ant.properties, or implicitly by the property setter):
[javac] /code/derby/trunk2/java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java:215: warning: [unchecked] unchecked conversion
[javac] found : java.lang.Class
[javac] required: java.lang.Class<java.lang.Object>
[javac] new StandardMBean(bean, beanInterface) {
[javac] ^
[javac] /code/derby/trunk2/java/engine/org/apache/derby/impl/services/jmx/JMXManagementService.java:215: warning: [unchecked] unchecked method invocation: <T>StandardMBean(T,java.lang.Class<T>) in javax.management.StandardMBean is applied to (java.lang.Object,java.lang.Class)
[javac] new StandardMBean(bean, beanInterface) {
[javac] ^
[javac] 2 warnings
[javac] /code/derby/trunk2/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/QueryVTIHelper.java:185: warning: [unchecked] unchecked call to getMethod(java.lang.String,java.lang.Class<?>...) as a member of the raw type java.lang.Class
[javac] ( methodName, new Class[]
[javac] ^
[javac] /code/derby/trunk2/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/XmlVTI.java:253: warning: [unchecked] unchecked call to getMethod(java.lang.String,java.lang.Class<?>...) as a member of the raw type java.lang.Class
[javac] ( methodName, new Class[] { String.class }
);
[javac] ^
[javac] /code/derby/trunk2/java/demo/vtis/java/org/apache/derbyDemo/vtis/core/XmlVTI.java:260: warning: [unchecked] unchecked call to getConstructor(java.lang.Class<?>...) as a member of the raw type java.lang.Class
[javac] ( new Class[]
);
[javac] ^
[javac] /code/derby/trunk2/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java:278: warning: [unchecked] unchecked call to getMethod(java.lang.String,java.lang.Class<?>...) as a member of the raw type java.lang.Class
[javac] ( methodName, new Class[] {} );
[javac] ^
[javac] 4 warnings