"Jeroen Frijters" <[EMAIL PROTECTED]> writes: > 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.
Cool, I should be able to remove the getInstance() method on VMClass then? How are the initialize() method you added and the private initialize(int) related in VMClass? For some unknown reason I can't do a cvs checkin this morning. Brian > > 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 > > _______________________________________________ > Classpath mailing list > [EMAIL PROTECTED] > http://mail.gnu.org/mailman/listinfo/classpath -- Brian Jones <[EMAIL PROTECTED]> _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath