--- old/src/share/classes/sun/tracing/ProviderSkeleton.java 2014-07-09 10:58:02.000000000 -0700 +++ new/src/share/classes/sun/tracing/ProviderSkeleton.java 2014-07-09 10:58:02.000000000 -0700 @@ -154,7 +154,7 @@ * @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 { --- old/src/share/classes/sun/tracing/dtrace/DTraceProvider.java 2014-07-09 10:58:02.000000000 -0700 +++ new/src/share/classes/sun/tracing/dtrace/DTraceProvider.java 2014-07-09 10:58:02.000000000 -0700 @@ -50,7 +50,7 @@ private Object proxy; // For proxy generation - private final static Class[] constructorParams = { InvocationHandler.class }; + private final static Class[] constructorParams = { InvocationHandler.class }; private final String proxyClassNamePrefix = "$DTraceTracingProxy"; static final String DEFAULT_MODULE = "java_tracing"; @@ -135,7 +135,7 @@ * Invoke its constructor with the designated invocation handler. */ try { - Constructor cons = proxyClass.getConstructor(constructorParams); + Constructor cons = proxyClass.getConstructor(constructorParams); return (T)cons.newInstance(new Object[] { this }); } catch (ReflectiveOperationException e) { throw new InternalError(e.toString(), e);