src/java.base/share/classes/java/lang/Runtime.java
Print this page
@@ -728,11 +728,11 @@
* detailed instruction trace it is performing.
*
* @param on <code>true</code> to enable instruction tracing;
* <code>false</code> to disable this feature.
*/
- public native void traceInstructions(boolean on);
+ public void traceInstructions(boolean on) { }
/**
* Enables/Disables tracing of method calls.
* If the <code>boolean</code> argument is <code>true</code>, this
* method suggests that the Java virtual machine emit debugging
@@ -746,11 +746,11 @@
* virtual machine cease emitting per-call debugging information.
*
* @param on <code>true</code> to enable instruction tracing;
* <code>false</code> to disable this feature.
*/
- public native void traceMethodCalls(boolean on);
+ public void traceMethodCalls(boolean on) { }
/**
* Loads the native library specified by the filename argument. The filename
* argument must be an absolute path name.
* (for example