From: Per Bothner Date: Sat, 14 Nov 1998 17:22:23 +0000 (-0800) Subject: Allow uses of interface types to verify. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2f44beb94269af28c399e31ab903d62787724a1;p=gcc.git Allow uses of interface types to verify. Allow uses of interface types to verify. This is not really type-safe, but it matches what Sun does, and is OK as long as there are appropriate run-time checks. * verify.c (merge_types): If merging two interface types, just set the result to java.lang.Object. * expr.c (pop_type): Any interface is matches by java.lang.Object. From-SVN: r23657 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 21c7db24fe6..89c7f68b837 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,12 @@ +Sat Nov 14 17:19:18 1998 Per Bothner + + Allow uses of interface types to verify. This is not really + type-safe, but it matches what Sun does, and is OK as long as + there are appropriate run-time checks. + * verify.c (merge_types): If merging two interface types, + just set the result to java.lang.Object. + * expr.c (pop_type): Any interface is matches by java.lang.Object. + 1998-11-13 Tom Tromey * gjavah.c (main): Handle --output-class-directory argument.