aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1998-08-20 09:44:03 -0700
committerPer Bothner <bothner@gcc.gnu.org>1998-08-20 09:44:03 -0700
commit6a5c8e422c8e4f2e0acc52aae2a10a83de540fad (patch)
tree89f83661b6cded5777b8918be46fa130cc731ef8 /gcc
parent824f42abafb7f57ac2c25f329640b58eacbd7370 (diff)
downloadgcc-6a5c8e422c8e4f2e0acc52aae2a10a83de540fad.zip
gcc-6a5c8e422c8e4f2e0acc52aae2a10a83de540fad.tar.gz
gcc-6a5c8e422c8e4f2e0acc52aae2a10a83de540fad.tar.bz2
Handle new'ing of Java classes.
� Handle new'ing of Java classes. * init.c (build_class_classref): New function. (build_new_1): If type is TYPE_FOR_JAVA: Call _Jv_AllocObject; constructor does not return this; don't need to exception-protect. * pt.c (lookup_template_class): Copy TYPE_FOR_JAVA flag. * decl2.c (acceptable_java_type): Handle template-derived types. From-SVN: r21882
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 037bf2b..a9690d9 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,13 @@
+Thu Aug 20 16:39:09 1998 Per Bothner <bothner@cygnus.com>
+
+ Handle new'ing of Java classes.
+ * init.c (build_class_classref): New function.
+ (build_new_1): If type is TYPE_FOR_JAVA: Call _Jv_AllocObject;
+ constructor does not return this; don't need to exception-protect.
+
+ * pt.c (lookup_template_class): Copy TYPE_FOR_JAVA flag.
+ * decl2.c (acceptable_java_type): Handle template-derived types.
+
1998-08-20 Per Bothner <bothner@cygnus.com>
* decl2.c (import_export_vtable): Suppress vtables for Java classes.