Community
Participate
Working Groups
I am running Eclipse Europa on Gentoo Linux and have installed only PMD and the Europa Discovery Site onto my Eclipse system. When I type class A { int[] a; // analogous problems with float[], Object[] or int[][] a. a proposal window pops up. The problem line is: clone() int[] - int You can't clone an int. clone() should be a method of class int[]
public class Test { { int[] a = new int[]{1}; int[] b = a.clone(); a.clone()[0] = 0; } } This example is valid so the proposal of 'clone() int[] - int' is valid. I close this bug as INVALID.
Verified for 3.4M1
. *** This bug has been marked as a duplicate of bug 473101 ***