Agree. So to be sure that javac uses the correct bootstrap, you need
to specify the javac bootstrap parameter in the maven-compiler-plugin.
So I recommend you to use the 1.5 jdk to compile.

Cheers,

Vincent

2009/1/16, Brian Eaton <[email protected]>:
> On Fri, Jan 16, 2009 at 10:25 AM, Paul Lindner <[email protected]> wrote:
>  > patch is in trunk, however this probably would not have caught the original
>  > problem.
>  >
>  > I think we just need to pass the -source 1.5 option to javac.  Should we do
>  > that as per this page:
>  >
>  > 
> http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
>
>
> I think that would be fine, but it won't catch all of the 1.5 vs 1.6
>  differences.  If we rely on methods only found in the 1.6 APIs, we'll
>  still see breaks.
>

Reply via email to