hg: lambda/lambda/langtools: Object methods are not dispatched correctly by the ProxyHelper class (part three - last I hope ; -)).

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Aug 26 01:05:41 PDT 2010


On 26/08/10 08:00, Howard Lovatt wrote:
> @Maurizio,
>
> I can't compile the latest push.
>
> build-bootstrap-javac:
>      [javac] Compiling 1 source file to
> /Users/lov080/Dropbox/Personal/Java/JDK7/langtools/build/bootstrap/classes
>      [javac] /Users/lov080/Dropbox/Personal/Java/JDK7/langtools/src/share/classes/com/sun/runtime/ProxyHelper.java:66:
> strings in switch are not supported in -source 1.6
>      [javac]                 switch(method.getName()) {
>      [javac]                                      ^
>      [javac]   (use -source 7 or higher to enable strings in switch)
>      [javac] 1 error
>    
This is a bit weird - of course I can update the code in no time so that 
it compiles against JDK 6, however the compiler build is supposed to 
compile that bit against the target JDK which is supposed to be a JDK 7 
repo... what are the env variables you are passing to ant?

Thanks
Maurizio
> BUILD FAILED
> /Users/lov080/Dropbox/Personal/Java/JDK7/langtools/make/build.xml:412:
> The following error occurred while executing this line:
> /Users/lov080/Dropbox/Personal/Java/JDK7/langtools/make/build.xml:775:
> Compile failed; see the compiler error output for details.
>
>
>
> Cheers,
>
>    -- Howard.
>    



More information about the lambda-dev mailing list