On Fri, Oct 8, 2010 at 12:11 AM, Jochen Theodorou <[email protected]> wrote:
> Rémi Forax wrote:
> [...]
>>
>> INVOKESTATIC
>> groovy/bugs/test.$get$$class$groovy$bugs$G4410JavaStringProducer
>> ()Ljava/lang/Class;
>> can trigger the loading of class groovy/bugs/test.
>>
>> So the error can perhaps come from the static init of groovy/bugs/test
>
> maybe it got a bit messie due to my many experiments, but the class
> groovy.bugs.test is the class executing the failing code. So this cannot be.
> And even if it were there, then it would show up in the stack trace, which
> it does not. Also the here called method is loading the class
> groovy.bugs.G4410JavaStringProducer, to whom the access fails, since it is
> package private... Only that the access should normally be ok, and that the
> error is not risen in that method or directly after it.

Just to rule this out: are you sure the two classes (test and
G4410JavaStringProducer) are loaded by the same classloader?

-- 
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.

Reply via email to