1 /* SSA-DCE was removing the initialization of the temporary object 2 in getFoo because it wasn't realizing that the pointer was needed 3 outside of it. */ 4 5 public class PR16867 6 { getFoo()7 public static Object[] getFoo() 8 { 9 return new Object[] {"OK"}; 10 } 11 main(String[] args)12 public static void main(String[] args) 13 { 14 Object[] a = getFoo(); 15 System.out.println(a[0]); 16 } 17 } 18