The following method in java.lang.Object should be moved to VMObject. public final native Class getClass();