/* SSA-DCE was removing the initialization of the temporary object in getFoo because it wasn't realizing that the pointer was needed outside of it. */publicclassPR16867{publicstaticObject[]getFoo(){returnnewObject[]{"OK"};}publicstaticvoidmain(String[]args){Object[]a=getFoo();System.out.println(a[0]);}}