« Return to Thread: Groovy runs code in static initializers during compile

Re: Groovy runs code in static initializers during compile

by Charles Oliver Nutter-2 :: Rate this Message:

Reply to Author | View in Thread

Jochen Theodorou wrote:
> hmm... I am currently asking myself if we need to resolve the classes we
> create when we compile. I know I had once a strange problem with this,
> but I think that was with the ReflectorLoader, which is very special
> anyway.
>
> hmm... the build seems to be ok with that change...

You shouldn't need to resolve them. JRuby's compiler just leaves them as
byte[] and dumps them to disk without ever loading them.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Groovy runs code in static initializers during compile