classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.Class patches


From: Brian Jones
Subject: Re: java.lang.Class patches
Date: 05 Apr 2003 09:04:54 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Jeroen Frijters" <address@hidden> 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
> address@hidden
> http://mail.gnu.org/mailman/listinfo/classpath

-- 
Brian Jones <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]