src/share/classes/sun/tracing/ProviderSkeleton.java
Print this page
@@ -152,11 +152,11 @@
* @param method the method that was called
* @param args the arguments passed in the call.
* @return always null, if the method is a user-defined probe
*/
public Object invoke(Object proxy, Method method, Object[] args) {
- Class declaringClass = method.getDeclaringClass();
+ Class<?> declaringClass = method.getDeclaringClass();
// not a provider subtype's own method
if (declaringClass != providerType) {
try {
// delegate only to methods declared by
// com.sun.tracing.Provider or java.lang.Object