Hi,

I implemented the new Class in IKVM.NET today and ran into a few more
issues. Attached is a patch for Class and VMClass.

Change Log:

* 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

Regards,
Jeroen

Attachment: class.patch
Description: class.patch

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to