match eqref also to "java/lang/Object" like externref

This commit is contained in:
Volker Berlin 2020-12-08 20:56:20 +01:00
parent 58d6cbc4de
commit 2c0db289cd
2 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,7 @@ public class TypeManager {
case i16:
componentClassIndex = 7;
break;
case eqref:
case externref:
componentClassIndex = valueOf( "java/lang/Object" ).classIndex;
break;

View File

@ -76,6 +76,7 @@ public class ArrayType extends StructType {
return "[I";
case i64:
return "[J";
case eqref:
case externref:
return "[Ljava.lang.Object;";
default: