IllegalAccessError with a signed applet

Mehrva Rabii (Mehrva.Rabii@studi.epfl.ch)
Thu, 29 Jan 1998 16:24:34 +0100

Date: Thu, 29 Jan 1998 16:24:34 +0100
From: Mehrva Rabii <Mehrva.Rabii@studi.epfl.ch>
To: java-security@web1.javasoft.com
Subject: IllegalAccessError with a signed applet

Hello,

I have a probleme.
I have done a signed applet as you did on

http://java.sun.com/security/signExample/index.html

In my applet I have an inner class (subclass of Canvas), without this
class my applet run very well, but with this class I receive a message
error like this :

java.lang.IllegalAccessError: inter$myCanvas
at inter.init(inter.java:1118)
at sun.applet.AppletPanel.run(AppletPanel.java:287)
at java.lang.Thread.run(Thread.java)

1118 is the line where I create an object of myCanvas.

And I have tried the same thing with a non-signed applet (with
appletviewer), and it works very well.

Can you tell me where is the probleme and what can I do ?

Thanks a lot.

Mehrva