What am I doing wrong? hg: lambda/lambda/langtools: More bug fixes:
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Aug 16 00:59:52 PDT 2010
Hi
From the message you are getting it seems like the special class
com.sun.runtime.ProxyHelper is not included in the boot classpath, this
causing the completion error to occur when the compiler tries to
generate code that depends on such class. How are you invoking the
lambda compiler?
Maurizio
On 15/08/10 22:46, Howard Lovatt wrote:
> @Remi,
>
> The syntaxes (sp ?) Person#compareByAge and Person#compareByAge(
> Person, Person ) result in:
>
> An exception has occurred in the compiler (1.7.0-internal). Please
> file a bug at the Java Developer Connection
> (http://java.sun.com/webapps/bugreport) after checking the Bug Parade
> for duplicates. Include your program and the following diagnostic in
> your report. Thank you.
> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
> com.sun.runtime.ProxyHelper not found
>
> The syntax Person#compareByAge() results in:
>
> lambdas/Main.java:35: method compareByAge in class Person cannot be
> applied to given types
> Arrays.sort( people, Person#compareByAge() );
> ^
> required: Person,Person
> found: no arguments
>
> Implying that Person#compareByAge( Person, Person ) is the correct
> syntax, however that causes the above exception.
>
>
More information about the lambda-dev
mailing list