class Loophole { public static String loophole (Byte y) { LinkedList xs = new LinkedList(); LinkedList ys = xs; ys.add(y); // unchecked warning return xs.iterator().next(); } }