State of the current Lambda source tree

Rémi Forax forax at
Mon Jan 17 12:32:06 PST 2011

On 01/17/2011 09:09 PM, Brian Goetz wrote:
> Extension methods require VM support, which is not there yet.  Right now
> the compiler attempts to enforce the right constraints, but you would
> get AME at runtime.
> Remi wrote an agent which will do load-time weaving of defenders, and
> posted it at google code, which should work for the code currently
> generated by the compiler.
> You are right that there should be a central document about the state of
> the implementation.  I'll put that on the to-do list.

The code of the agent is here:

to compile it:
   ant jar

to run it:
   java -javaagent:lib/jsr335-agent.jar TestExtensionMethod


> On 1/17/2011 3:04 PM, Sam Pullara wrote:
>> Is there a document that is kept up to date with the current state of prototype? I'm trying out defender methods and it compiles correctly but gets an abstract method error at runtime. Would be nice to know what should work under what circumstances with the current code. I'm running against an up-to-date build of the bsd-port, not sure if that matters.
>> Thanks,
>> Sam

More information about the lambda-dev mailing list