view test/runtime/6626217/You_Have_Been_P0wned.java @ 6733:fa6e618671d7

7195867: NPG: SAJDI tests fail with sun.jvm.hotspot.types.WrongTypeException: No suitable match for type Summary: Need to restore the vtable in metadata when we restore the type from the shared archive. Reviewed-by: acorn, jcoomes, jmasa, jrose
author coleenp
date Wed, 05 Sep 2012 20:08:08 -0400
parents 495caa35b1b5
children
line wrap: on
line source


// I can cast any old thing I want to this type object:
public class You_Have_Been_P0wned {
  // Make a bunch of int-fields so I can peek & poke it
  int _a;
  int _b;
  int _c;
  int _d;

}