projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e57dd2
)
* src/vm/builtin.c (builtin_descriptorscompatible): Experimental fix for
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Fri, 2 May 2008 14:12:26 +0000
(16:12 +0200)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Fri, 2 May 2008 14:12:26 +0000
(16:12 +0200)
bugzilla bug #65.
src/vm/builtin.c
patch
|
blob
|
history
diff --git
a/src/vm/builtin.c
b/src/vm/builtin.c
index dc217b72bd9b79f9fff53d2c35dbce71611b1173..86ba2e5469a3e06713fa99320f4d0261b315ce6e 100644
(file)
--- a/
src/vm/builtin.c
+++ b/
src/vm/builtin.c
@@
-479,6
+479,8
@@
static bool builtin_descriptorscompatible(arraydescriptor *desc, arraydescriptor
/* {both arrays are arrays of references} */
if (desc->dimension == target->dimension) {
+ if (!desc->elementvftbl)
+ return 0;
/* an array which contains elements of interface types is
allowed to be casted to Object (JOWENN)*/