*
* @return the number of loaded classes.
*/
- static int getLoadedClassCount()
- {
- return -1;
- }
+ static native int getLoadedClassCount();
/**
* Returns the number of classes that have been unloaded
*
* @return the number of unloaded classes.
*/
- static long getUnloadedClassCount()
- {
- return -1;
- }
+ static native long getUnloadedClassCount();
/**
* Returns true if the virtual machine will emit additional
*
* @return true if verbose class loading output is on.
*/
- static boolean isVerbose()
- {
- return false;
- }
+ static native boolean isVerbose();
/**
* Turns on or off the emission of additional information
* @param verbose the new setting for verbose class loading
* output.
*/
- static void setVerbose(boolean verbose)
- {
- }
+ static native void setVerbose(boolean verbose);
}