diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-14 17:22:23 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-14 17:22:23 +0000 |
| commit | 1952508b72ef9dd4f33f15e193981724c5bebaac (patch) | |
| tree | a7d7e1a8ac00755b2a59e71aaa64fb6be299693a /gcc/java | |
| parent | 3ce9bac01727a97c67b7f83df37b9301d7f65b6e (diff) | |
| download | ppe42-gcc-1952508b72ef9dd4f33f15e193981724c5bebaac.tar.gz ppe42-gcc-1952508b72ef9dd4f33f15e193981724c5bebaac.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23657 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
| -rw-r--r-- | gcc/java/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
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 <bothner@cygnus.com> + + 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 <tromey@cygnus.com> * gjavah.c (main): Handle --output-class-directory argument. |

