@earlz: I suspect that it would wind up as an integral value, of whatever bit pattern. On the other hand, you could probably set 5 to 4 that way (so 2+2 would equal 5 for small values of 5). — David ThornleyJan 4 '10 at 22:17
I can't stop giggling at that.
I thought it was time to revisit that thread. It didn't disappoint.
Java
Reflection is indeed the right way to go with abusing Java... but you need to go deeper than just tweaking some values.
import java.lang.reflect.Field;
public class Main {
public static void main(String[] args) throws Exception {
Class cache = Integer.class.getDeclaredClasses...