El 09/03/11 16:35, David Hearnden escribió: > Hi Vicente, > > What JDK are you using? It should compile fine with Java 6. > > I know that Sun/Oracle's Java 5's type inference is not as good as Java > 6, and different compilers have different levels of sophistication > (Eclipse's java compiler is usually better). > > -Dave
Thanks David, The JDK in this machine java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.3) (6b18-1.8.3-2) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode) It's strange, because I was working fine this previous months. Anyway seems a local problem in this machine because in my laptop compiles fine. Thanks anyway. Bests, -- Vicente J. Ruiz Jurado http://comunes.org http://ourproject.org http://homes.ourproject.org/~vjrj/blog "Our hope is that this project will inspire similar efforts at other institutions and will reinforce the concept that ideas are best viewed as the common property of all of us, not as proprietary products intended to generate profits." [William and Flora Hewlett Foundation president Paul Brest, commenting on the foundation's support for the Massachusetts Institute of Technology's OpenCourseWare initiative]