[cp-patches] RFC: VM Interface Change: Addition of VMArray

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

 



On Sun, 2006-03-19 at 01:05 +0000, Andrew John Hughes wrote:
> I propose the attached patch which moves the native method in
> java.lang.reflect.Array to a new VMArray class, as per PR#22923.
> 
> Changelog:
> 
> 2006-03-18  Andrew John Hughes  <gnu_andrew@xxxxxxxxxxxxxx>
> 
>         * doc/vmintegration.texinfo:
>         Updated to include VMArray.
>         * include/Makefile.am:
>         Replace java_lang_reflect_Array.h with
>         java_lang_reflect_VMArray.h
>         * include/java_lang_reflect_VMArray.h:
>         New autogenerated header.
>         * include/java_lang_reflect_Array.h:
>         Removed.
>         * java/lang/reflect/Array.java:
>         (newInstance(Class,int)): Calls VMArray.
>         (createMultiArray(Class,int[],int)): Likewise.
>         (createObjectArray(Class,int)): Removed.
>         * native/jni/java-lang/Makefile.am:
>         Replaced java_lang_reflect_Array.c with
>         java_lang_reflect_VMArray.c
>         * native/jni/java-lang/java_lang_reflect_VMArray.c:
>         Renamed from java_lang_reflect_Array.c.
>         * vm/reference/java/lang/reflect/VMArray.java:
>         (createObjectArray(Class,int)): Native method moved
>         from java.lang.reflect.Array.
> 

Committed.

-- 
Andrew :-)

Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

If you use Microsoft Office, support movement towards the end of vendor
lock-in:
http://opendocumentfellowship.org/petition/

"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman

Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath/attachments/20060319/f9006dbe/attachment.pgp

[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux