Thanks Ian.  That fixed it.  It was picking up 1.4 from elsewhere in the
path.

Jason

-----Original Message-----
From: Ian Boston [mailto:[EMAIL PROTECTED] On Behalf Of Ian Boston
Sent: Monday, April 28, 2008 3:06 AM
To: [email protected]
Subject: Re: Unable to build trunk

For some reason, you compiler is not compiling generics, ie it is  
either pre JDK 1.5 or its configured to build source code as pre 1.5

can you try

javac --version

cd /usr/local/src/shindig/java/common/src/main/java/
javac GenericTest.java


If thats ok, then you maven installation is not good and for some  
reason, maven is picking up the wrong compiler, wong level of  
compliance or perhaps tools.jar,

If that is not ok, then its nothing to do with the maven  
configuration and its your JDK that is corrupt (if 1.5,1.6), wrong if  
pre 1.5.


Ian

Reply via email to