summaryrefslogtreecommitdiff
path: root/java/lang/Class.java
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-04-05 C. Brian Jones <cbj@gnu.org>Brian Jones2003-04-051-15/+33
| | | | | | | | | | | | | | | | | | | | | | | * vm/reference/java/lang/VMClass.java (getInstance): removed * include/java_lang_VMClass.h: regenerated 2003-04-05 Jeroen Frijters <jeroen@sumatra.nl> * java/lang/Class.java (vmClass): Made vmClass field package instead of private (Class): Made constructor package instead of private and passed in VMClass instance (forName(String,boolean,ClassLoader)): Added special handling for array classes and initialization (isArray): Removed superfluous ternary operator (internalGetClasses): Fixed to use ArrayList.addAll instead of ArrayList.add (internalGetFields): Fixed to use ArrayList.addAll instead of ArrayList.add (getMethod(String,Class[])): Added code to also look at interfaces * vm/reference/java/lang/VMClass.java (initialize): Added (loadArrayClass): Added
* * vm/reference/java/lang/VMClass.java: fix importsBrian Jones2003-04-041-4/+4
| | | | | | | | | | * java/lang/Class.java (internalGetMethods): fix spelling of superClass (getSigners): cast clone of Object[] (getSuperclass): fix spelling of getSuperclass (forName): use VMClass.forName for static invocation * include/*.h: updated * doc/www.gnu.org/home.wml: update link to GNU Crypto
* * vm/reference/java/lang/VMClass.java: new fileBrian Jones2003-04-041-0/+1147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm/reference/java/lang/Class.java: moved to java/lang * java/lang/Class.java: added transient reference to VMClass (Class): added call to static VMClass.getInstance() (forName(String)): calls VMClass.forName and if that returns null then performs the previous method call instead (isInstance): moved to VMClass (isAssignableFrom): moved to VMClass (isInterface): moved to VMClass (isArray): calls VMClass.isArray before returning to getName() based implementation (isPrimitive): moved to VMClass (getName): moved to VMClass (getSuperclass): moved to VMClass (getInterfaces): moved to VMClass (getComponentType): moved to VMClass (getModifiers): moved to VMClass (getSigners): return a clone of the signers array (memberAccessCheck): new method (getDeclaringClass): moved to VMClass (getClasses): calls internalGetClasses (internalGetClasses): new method (getFields): calls internalGetFields (internalGetFields): new method (getMethods): calls internalGetMethods (internalGetMethods): new method (getConstructors): calls getDeclaredConstructors (getField): calls getDeclaredFields (getMethod): calls getDeclaredMethods (matchMethod): new method (matchParameters): new method (getConstructor): calls getDeclaredConstructors (getDeclaredClasses): calls getDeclaredClasses(boolean) (getDeclaredClasses(boolean)): new method (getDeclaredFields): calls getDeclaredFields(boolean) (getDeclaredFields(boolean)): new method (getDeclaredMethods): calls getDeclaredMethods(boolean) (getDeclaredMethods(boolean)): new method (getDeclaredConstructors): calls getDeclaredConstructors(boolean) (getDeclaredConstructors(boolean)): new method (getDeclaredField): calls getDeclaredFields (getDeclaredMethod): calls getDeclaredMethods (getDeclaredConstructor): calls getDeclaredConstructors (getClassLoader0): removed * NEWS: note changes to Class * gnu/classpath/RawData: new file (from libgcj) * java/lang/Makefile.am: add Class.java to dist * vm/reference/java/lang/Makefile.am: add VMClass.java to dist, remove Class.java
* First rev. of changes for Japhar integration ...John Keiser1998-10-041-478/+0
|
* Modified to work with VM interface.John Keiser1998-09-231-416/+478
|
* Added Java implementation for basic system classes.John Keiser1998-08-111-0/+416