class.c (make_class_data): When using flag_indirect_classes, don't initialize the...
commite046c56eee0e7308f8704c8c13aa6ca5230201f1
authorAndrew Haley <aph@redhat.com>
Fri, 16 Jun 2006 08:56:29 +0000 (16 08:56 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 16 Jun 2006 08:56:29 +0000 (16 08:56 +0000)
treeff9074d933a019a660cdd900d098b48311aea034
parent47392a21de0f9488d598ecfb6aac3e6d45a7457a
class.c (make_class_data): When using flag_indirect_classes, don't initialize the vtable of Class instances.

2006-06-16  Andrew Haley  <aph@redhat.com>

        * class.c (make_class_data): When using flag_indirect_classes,
        don't initialize the vtable of Class instances.

2006-06-16  Andrew Haley  <aph@redhat.com>

        * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Don't
        copy the whole Class instance from the initializer: instead, copy
        everything but the first word (the vtable pointer).
        Change prototype to (const char* class_initializer).
        (_Jv_RegisterNewClasses): Change prototype to (const char**).
        * java/lang/Class.h (_Jv_RegisterNewClasses): Change prototype to
        (const char**).

From-SVN: r114714
gcc/java/ChangeLog
gcc/java/class.c
libjava/ChangeLog
libjava/java/lang/Class.h
libjava/java/lang/natClassLoader.cc