Hi,
I have a problem with EBuild for Java.
I was not able to create a test case. Looks like the problem occurs only in case of big source files.
exception in thread “main” java.lang.IllegalAccessError: tried to access method neo.CNeoPrimaryComponentBase.supercoreIn
tercept(ILjava/lang/String;Ljava/lang/Object;)V from class sbb.neo.CCertificateManager$2
at sbb.neo.CCertificateManager$2.do_Generate$GenerateSelfSigned()
at sbb.neo.CCertificateManager.do_Generate()
at sbb.Certificatemanager.generate(Unknown Source)
at sbb.test.CertificateManagerTest.RunTest()
at sbb.test.__Global.main()
CCertificateManager.do_Generate() has inner procedure GenerateSelfSigned() that calls supercoreIntercept() method. supercoreIntercept() method is defined as protected in CCertificateManager parent class: neo.CNeoPrimaryComponentBase.
Compiler generates two class files:
-
public class sbb.neo.CCertificateManager extends neo.CNeoPrimaryComponentBase
-
final class sbb.neo.CCertificateManager$2 {
public sbb.neo.CCertificateManager $self;
…
I’ve decompiled CCertificateManager$2.do_Generate$GenerateSelfSigned() method and saw next code:
this.$self.supercoreIntercept(…), but supercoreIntercept() is a protected method from another package and looks like this is the reason of the exception.
Best regards,
Vsevolod Ievgiienko