classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] [Patch] VM interface improvements for java.lang.Object and


From: Michael Koch
Subject: [cp-patches] [Patch] VM interface improvements for java.lang.Object and java.lang.Double
Date: Sat, 16 Apr 2005 10:57:07 +0200
User-agent: Mutt/1.5.6+20040907i

Hi list,


I just commited the attached patch to move the native methods in
java.lang.Object and java.lang.Double into the VM interface.


Michael


2005-04-16  Michael Koch  <address@hidden>

        * include/java_lang_Double.h,
        include/java_lang_Object.h,
        native/jni/java-lang/java_lang_Double.c,
        native/jni/java-lang/java_lang_Object.c: Removed.
        * include/java_lang_VMDouble.h: Regenerated.
        * java/lang/Double.java
        (static): Removed.
        (toString): Call native method from VMDouble.
        (parseDouble): Make non-native and call native method from VMDouble.
        (toString): Removed.
        * java/lang/Float.java
        (toString): Call native method from VMDouble.
        * java/lang/Object.java
        (getClass): Refactored to call the native in java.lang.VMObject.
        * include/Makefile.am: Don't generate java_lang_Double.h and
        java_lang_Object.h.
        * native/jni/java-lang/Makefile.am: Removed java_lang_Double.c and
        java_lang_Object.c.
        * native/jni/java-lang/java_lang_VMDouble.c
        (initIDs): New method.
        (toString): Likewise.
        (parseDouble): Likewise.
        * vm/reference/java/lang/VMDouble.java
        (initIDs): Likewise.
        (toString): Likewise.
        (parseDouble): Likewise.
        * vm/reference/java/lang/VMObject.java
        (getClass): Likewise.

Attachment: vminterface.diff
Description: Text document


reply via email to

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