Oliver Jowett <oliver@opencloud.com> writes:
>>> You could try adding 'source="1.5"' as an attribute of the <javac> task.
That seems to have done the trick --- thanks for the suggestion.
> We should probably be explicitly setting a source version to match the
> source we're giving to javac to catch exactly this sort of case,
> anyway.. It certainly can't hurt since we know that e.g. the 1.5 source
> isn't going to build if interpreted as 1.4.
+1 ...
regards, tom lane