Native Methods
ClassPackageMethodDescriptionNotes
Classjava.lang forName
(Ljava/lang/String;)
Ljava/lang/Class;
Loads the named classimplemented
getClassLoader
()Ljava/lang/ClassLoader;
Returns the ClassLoader for the Classimpl ib v1.04a
getInterfaces
()[Ljava/lang/Class;
Returns an array of interface Classesimpl in v1.05a
getName
()Ljava/lang/String;
Returns the name of a Classimplemented
getPrimitiveClass
(Ljava/lang/String;)
Ljava/lang/Class;
Get Class object for primitive typesimplemented
getSuperclass
()Ljava/lang/Class;
Returns the superclass Classimpl in v1.04a
isArray()ZReturns true if this Class is an arraydummied
isAssignableFrom
(Ljava/lang/Class;)Z
Returns true if the classes are assignment compatibleimpl in v1.04a
newInstance
()Ljava/lang/Object;
Create a new instance of the Classimplemented
ClassLoaderjava.lang init()VInitializes the ClassLoaderimplemented
getSystemResourceAsStream0
(Ljava/lang/String;)
Ljava/io/InputStream;
Opens the given file as a Streamimplemented
findSystemClass0
(Ljava/lang/String;)
Ljava/lang/Class;
Load the named system classimplemented
Doublejava.lang doubleToLongBits(D)JConvert a double into a set of bitsimplemented
longBitsToDouble(J)DConvert a set of bits into a doubleimplemented
Filejava.io canRead0()ZReturns true if file is readableimpl in v1.06a
delete0()ZDeletes the filedummied in v1.04a
exists0()ZReturns true if the file existsimplemented
isAbsolute()ZReturns true if this is an absolute filenamedummied in v1.06a
isDirectory0()ZReturns true if this is a directoryimplemented
isFile0()ZReturns true if this is a fileimplemented
lastModified0()JReturns the modification time of the fileimplemented
list0
()[Ljava/lang/String;
Returns an array of filenamesimplemented
mkdir0()ZCreates a directorydummied
File-
Descriptor
java.io initSystemFD
(Ljava/io/FileDescriptor;I)
Ljava/io/FileDescriptor;
Setup stdin, stdout and stderrimplemented
File-
InputStream
java.io available()IReturns number of available bytesimplemented
open
(Ljava/lang/String;)V
Opens the given fileimplemented
read()IReads a single byteimplemented
readBytes([BII)IRead bytes from a fileimplemented
skip(J)JSkips given number of bytesimplemented
close()VCloses the fileimplemented
File-
OutputStream
java.io open
(Ljava/lang/String;)V
Open a file for writing (new file)implemented
openAppend
(Ljava/lang/String;)V
Open a file for writing (append)not implemented
write(I)VWrite a byte to a fileimplemented
writeBytes([BII)VWrite a sequence of bytes to a fileimplemented
close()VCloses the fileimplemented
Floatjava.lang intBitsToFloat(I)FConvert a set of bits into a floatimplemented
floatToIntBits(F)IConvert a float into a set of bitsimpl in v1.04a
Mathjava.lang floor(D)DReturns the floor of the given doubleimplemented
Objectjava.lang clone
()Ljava/lang/Object;
Returns an exact copy of an objectimplemented
getClass
()Ljava/lang/Class;
Get the Class object associated with thisimplemented
hashCode()IReturns the hashcode for an object (memory address)implemented
notifyAll()VNotifies all waiting threadsdummied
wait(J)VWaits for a subsequent notifynot implemented
Object-
InputStream
java.io loadClass0
(Ljava/lang/Class;
Ljava/lang/String;)
Ljava/lang/Class;
Loads the named class releative to the given Classimplemented
Object-
OutputStream
java.io getRefHashCode
(Ljava/lang/Object;)I
Returns the hashcode for the objectimplemented
outputClassFields
(Ljava/lang/Object;
Ljava/lang/Class;[I)V
Writes the fields for the given object?dummied
ObjectStream-
Class
java.io getClassAccess
(Ljava/lang/Class;)I
Returns the access flags for given classimpl in v1.05a
getFields0
(Ljava/lang/Class;)
[Ljava/io/ObjectStreamField;
Returns a list of fields for the given classimpl in v1.04a
getFieldAccess
(Ljava/lang/Class;
Ljava/lang/String;)I
Returns the access flags for the specified fieldimpl in v1.05a
getFieldSignatures
(Ljava/lang/Class;)
[Ljava/lang/String;
Returns a list of the type descriptors for the fields of the classimpl in v1.05a
getMethodAccess
(Ljava/lang/Class;
Ljava/lang/String;)I
Returns the access flags for the specified methodimpl in v1.05a
getMethodSignatures
(Ljava/lang/Class;)
[Ljava/lang/String;
Returns a list of the type descriptors for the methods of the classimpl in v1.05a
getSerialVersionUID
(Ljava/lang/Class;)J
Returns the hard-coded serial version UID for the given classdummied in v1.04a
hasWriteObject
(Ljava/lang/Class;)Z
Returns true if the given class has a writeObject() methoddummied in v1.05a
RandomAccess-
File
java.io open
(Ljava/lang/String;Z)V
Opens the given fileimplemented
Runtimejava.lang buildLibName
(Ljava/lang/String;
Ljava/lang/String;)
Ljava/lang/String;
Builds up the name of a native libraryimplemented
exitInternal(I)VExit the Virtual Machineimplemented
initializeLinkerInternal
()Ljava/lang/String;
Initializes the linkerimplemented
loadFileInternal
(Ljava/lang/String;)I
Loads the named native librarydummied
traceInstructions(Z)VTurn on/off instruction tracingdebug only
traceMethodCalls(Z)VTurn on/off method tracingdebug only
Security-
Manager
java.lang classLoaderDepth()IReturns number of class loaders on stackdummied
currentClassLoader
()Ljava/lang/ClassLoader;
Returns the current class loader or nulldummied
getClassContext
()[Ljava/lang/Class;
Returns Class for each stack frameimpl in v1.04a
Systemjava.lang arraycopy
(Ljava/lang/Object;I
Ljava/lang/Object;II)V
Copy all or part of an arraybyte arrays only
currentTimeMillis()JCurrent time in millisecondsimplemented
initProperties
(Ljava/util/Properties;)
Ljava/util/Properties;
Initialise properties (from command line)dummied
setIn0
(Ljava/io/InputStream;)V
Set standard input streamimplemented
setOut0
(Ljava/io/PrintStream;)V
Set standard output streamimplemented
setErr0
(Ljava/io/PrintStream;)V
Set standard error streamimplemented
Threadjava.lang currentThread
()Ljava/lang/Thread;
Returns a handle on the current threadimplemented
setPriority0(I)VSets the threads prioritydummied in v1.04a
start()VStarts the threadnot implemented
Throwablejava.lang fillInStackTrace
()Ljava/lang/Throwable;
Store current stack trace in exception objectimplemented
printStackTrace0
(Ljava/lang/Object;)V
Display stack trace from exceptionimplemented
 
parameter encoding:      
B = byte S = short I = int J = long
F = float D = double V = void Z = boolean
Lname; = Literal [ = Array