diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-11-14 09:22:23 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-11-14 09:22:23 -0800 |
commit | a2f44beb94269af28c399e31ab903d62787724a1 (patch) | |
tree | a7d7e1a8ac00755b2a59e71aaa64fb6be299693a /gcc/java/jcf-parse.c | |
parent | 46cf461c83489859531d548d57e1751f8c5cb68c (diff) | |
download | gcc-a2f44beb94269af28c399e31ab903d62787724a1.zip gcc-a2f44beb94269af28c399e31ab903d62787724a1.tar.gz gcc-a2f44beb94269af28c399e31ab903d62787724a1.tar.bz2 |
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
Diffstat (limited to 'gcc/java/jcf-parse.c')
0 files changed, 0 insertions, 0 deletions