Hi,

It seems from a first look that these java.lang.Class methods which
are currently native:

        Class.getClasses()
        Class.getFields()
        Class.getMethods()
        Class.getConstructors()

could be implemented entirely in Java, by relying on these methods:

        Class.getDeclaredClasses()
        Class.getDeclaredFields()
        Class.getDeclaredMethods()
        Class.getDeclaredConstructors()
        Class.isInterface()
        Class.getSuperclass()
        Class.getInterfaces()

Would this work? It would save a lot of native code writing for JVM
implementors.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com


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

Reply via email to