polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Strange Java scope issue...
Date Wed, 13 Apr 2016 08:07:31 GMT
In the TypeToCompositeLookupTest, I get a funny exception, if I remove the
"public" from any of the "public static" Impl classes
For instance, if I remove it from the BasicFooImpl class, the following
error comes out;

java.lang.IllegalAccessError: class
org.apache.zest.runtime.structure.TypeToCompositeLookupTest_BasicFooImpl_Stub
cannot access its superclass
org.apache.zest.runtime.structure.TypeToCompositeLookupTest$BasicFooImpl

With package protection, the belong to the same package, why is there a
problem?

"protected" work...

Cheers
-- 
Niclas Hedhman, Software Developer
http://zest.apache.org - New Energy for Java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message