[Solved] Java how to redefine fundamental int value [closed]
Well just for fun, I decided to take a shot at it. Most probably what you’ve heard was that you could corrupt the Integer’s cache in order to do this. Before getting any further, here’s the code: package test; import java.lang.reflect.Field; public class BreakMath { public static void main(String[] args) throws ClassNotFoundException, NoSuchFieldException, SecurityException, IllegalArgumentException, … Read more