| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
* vm/reference/java/lang/VMClassLoader.java (loadClass): Changed
documentation to make clear null can be returned to signal that the
class wasn't found.
* java/lang/ClassLoader.java (loadClass(String,boolean)): Added check
for null return value from VMClassLoader.loadClass.
* vm/reference/java/lang/Class.java
(forName(String,boolean,ClassLoader)): Likewise.
* NEWS: Add note about VM interface changes.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
bootstrap classloader when classloader == null.
* vm/reference/java/lang/VMClassLoader.java: Indicate methods that
should be implemented by the VM and don't rely on the
application/system classloader to prevent circular class call
chains.
* java/lang/ClassLoader.java (ClassLoader): Use systemClassLoader
directly.
(findSystemClass): Likewise.
(getSystemResources): Likewise.
|
| |
|
|
| |
classes starting with "java." or "gnu.java.".
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Portions of Patch 70:
* gnu/java/lang/ClassLoaderHelper.java: Remove special casing for
String, which no longer uses this.
* gnu/java/lang/Makefile.am (EXTRA_DIST) Add
SystemClassLoader.java.
* gnu/java/lang/SystemClassLoader.java: New file.
* gnu/java/lang/reflect/TypeSignature.java: Clean up, borrowing
ideas from java.lang.reflect.Proxy.
* gnu/java/util/EmptyEnumeration.java: Improve formatting.
* java/lang/ClassLoader.java: Use the new
gnu.java.lang.SystemClassLoader, plus support for loading an
alternative at startup.
* java/lang/reflect/Proxy.java: Fix some off-by-one bugs, use
gnu.java.lang.reflect.TypeSignature.
* java/sql/DriverManager.java: Throw appropriate exception.
* java/util/ResourceBundle.java: Rearrange code to favor common
case; use string buffers for speed.
* vm/reference/java/lang/Class.java (getClassLoader): Perform
security checks.
(getComponentType): Fix bugs.
* vm/reference/java/lang/Runtime.java: Include "." in search path.
|
| |
|
|
|
|
|
|
| |
jikes invocation.
* java/net/Socket.java (shutdownInput): new stub method.
(shutdownOutput): likewise.
* vm/reference/java/lang/Class.java (forNme(String)): native again.
* gnu/java/awt/peer/gtk/Makefile: removed (autogenerated).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/Makefile.am (EXTRA_DIST): Add AssertionError.java and
StackTraceElement.java.
* java/lang/AssertionError.java: New file.
* java/lang/ClassLoader.java: Add some synchronization and code
cleanups to use improved VMClassLoader.
Add assertion status fields and methods.
* java/lang/StackTraceElement.java: New file.
* vm/reference/java/lang/Class.java (desiredAssertionStatus): Add.
Other locations: clean up code.
* vm/reference/java/lang/Throwable.java (cause, stackTrace): Add
exception chaining, and Java code for stack traces (native code
unimplemented).
* vm/reference/java/lang/VMClassLoader.java: Add (unimplemented)
hooks to compile assertion status.
(defineClass, loadClass): Add prototypes for missing native hooks.
* vm/reference/java/lang/VMSecurityManager.java: Formatting.
* gnu/java/lang/ClassHelper.java (getAllMethodsAtDeclaration),
(getAllFieldsAtDeclaration): Delete, as they were just duplicates.
(getAllMethods, getAllFields): Optimize.
* gnu/java/lang/ArrayHelper.java: Formatting and Javadoc.
(equalsArray): Delete, it duplicates java.util.Arrays.equals.
* gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
Arrays.equals instead of ArrayHelper.equalsArray.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/ClassHelper.java: Improve Javadoc and formatting,
and rearrange methods.
* vm/reference/java/lang/Class.java: Ditto.
* vm/reference/java/lang/Throwable.java: Ditto.
* vm/reference/java/lang/VMClassLoader.java: Ditto.
* vm/reference/java/lang/VMObject.java: Ditto.
* java/lang/Boolean.java: Ditto.
* java/lang/ClassLoader.java: Ditto.
* java/lang/Error.java: Ditto.
* java/lang/Object.java: Ditto.
|
| | |
|
| |
|
|
|
|
| |
* vm/reference/java/lang/reflect/Method.java (toString()): use
Class.getName() not Class.toString().
* vm/reference/java/lang/Class.java: final, implements Serializable.
|
| |
|
|
| |
protectionDomain as a workaround for compiling with gcj 3.1 (CVS)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File.pathSeparatorChar instead of ':'
* vm/reference/java/lang/Runtime.java (Runtime): deal with
null library path
* vm/reference/java/lang/Class.java: documentation fix
* native/jni/awt/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues):
changed argument type from int to jint
* gnu/java/locale/LocaleInformation_en.java: sentence_breaks
updated
* gnu/java/locale/LocaleInformation_nl.java: sentence_breaks
updated
* gnu/java/locale/LocaleInformation_de.java: Added word_breaks,
sentence_breaks, and line_breaks.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(forName(String,boolean,ClassLoader)): new method
(getPackage): Ditto
(getProtectionDomain): Ditto
* java/lang/ClassLoader.java: 1.2 updates
(getParent): new method
(getSystemClassLoader): Ditto
(findClass): Ditto
(findResource): Ditto
(findResources): Ditto
(getResources): Ditto
|
| |
|
|
| |
thanks John
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
getSuperclass() method natives. Note that Japhar currently manually and
arbitrarily sets the field count on java/lang/Class to 0, so using
instance variables won't work in this class. This should be resolved
at a future date.
|
| | |
|
| |
|
|
| |
Serialization needs to be done still (not sure how myself with this one)
|
| | |
|
| | |
|
| | |
|
| |
|