< prev index next >

src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java

Print this page
@@ -283,13 +283,14 @@
  
      @Override
      public HotSpotResolvedObjectTypeImpl[] getInterfaces() {
          if (interfaces == null) {
              if (isArray()) {
-                 HotSpotResolvedObjectTypeImpl[] types = new HotSpotResolvedObjectTypeImpl[2];
+                 HotSpotResolvedObjectTypeImpl[] types = new HotSpotResolvedObjectTypeImpl[3];
                  types[0] = runtime().getJavaLangCloneable();
                  types[1] = runtime().getJavaLangSerializable();
+                 types[2] = runtime().getJavaLangIdentityObject();
                  this.interfaces = types;
              } else {
                  interfaces = runtime().compilerToVm.getInterfaces(this);
              }
          }
< prev index next >