You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by bigcache1 <sh...@gmail.com> on 2012/09/08 19:21:07 UTC
Re: another java.lang.LinkageError (loader constraint violation in
interface itable initialization)
I found the issue.
I was referencing the implementing class in the interface, which is to be
implemented.
Like:
interface MyInterface{
public MyImplementation doSomething();
}
class MyImplementation implements MyInterface {
public MyImplementation doSomething();
}
So it was entirely my fault.
--
View this message in context: http://tapestry.1045711.n5.nabble.com/another-java-lang-LinkageError-loader-constraint-violation-in-interface-itable-initialization-tp5714993p5716146.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: another java.lang.LinkageError (loader constraint violation in
interface itable initialization)
Posted by Howard Lewis Ship <hl...@gmail.com>.
On Saturday, September 8, 2012, bigcache1 wrote:
> I found the issue.
> I was referencing the implementing class in the interface, which is to be
> implemented.
>
> Like:
> interface MyInterface{
> public MyImplementation doSomething();
> }
> class MyImplementation implements MyInterface {
> public MyImplementation doSomething();
> }
>
> So it was entirely my fault.
>
> Interesting. What you are doing is unintentional, but valid. It would work
in vanilla Java, but Tapestry's class loading breaks it. Ideally, Tapestry
should identify this and generate a useful exception.
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/another-java-lang-LinkageError-loader-constraint-violation-in-interface-itable-initialization-tp5714993p5716146.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org<javascript:;>
> For additional commands, e-mail: users-help@tapestry.apache.org<javascript:;>
>
>
--
Howard M. Lewis Ship
Creator of Apache Tapestry
The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!
(971) 678-5210
http://howardlewisship.com