Community
Participate
Working Groups
3.2 In the following code 'x' is unknown. If you hover over 'asList', you see that jdt.core guessed the type variable as 'Arrays': <Arrays> List<Arrays> java.util.Arrays.asList(Arrays... a) This doesn't seem to do much sense. Why not just take Object (respective a bound of T)? Quick fix uses this guess to offer fixes package pack; import java.util.Arrays; public class E { public void foo() { return Arrays.asList( x ); } }
This is no longer an issue. Now Object is suggested instead of Arrays.
Verified for 3.6M5 using build I20100122-0800