view test/runtime/6626217/You_Have_Been_P0wned.java @ 11303:28da427847c5

New Truffle API methods for efficient implementation of a custom type system on top of the JVM.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Wed, 14 Aug 2013 11:52:15 +0200
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;

}