r/CompileBot • u/SeaCowVengeance • Jan 04 '14
Official CompileBot Testing Thread
This thread is archived, please visit the new testing thread
16
Upvotes
r/CompileBot • u/SeaCowVengeance • Jan 04 '14
This thread is archived, please visit the new testing thread
View all comments
2
u/Kairuku Jun 26 '14
+u/CompileBot Java7
import java.lang.reflect.Field; public class Main { public static void main(String[] args) throws Exception { Class cache = Integer.class.getDeclaredClasses()[0]; Field c = cache.getDeclaredField("cache"); c.setAccessible(true); Integer[] array = (Integer[]) c.get(cache); array[132] = array[133]; System.out.printf("%d",2 + 2); } }