Hi,

I am trying to use TclBlend version 1.1.1 and 1.2.1.
Earlier I was using version 1.1. In 1.1, things work
good. I was upgrading to 1.1.1 or later. But, in newer
versions, the same code (java and TCL) now produces
this error, when trying to run:

java.lang.VerifyError: (class: bay/jets/circuits/CircuitEnet, method: deregister
signature: (Lbay/jets/media/Enet;)V) Bad access to protected data
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Compiled Code)
        at tcl.lang.TclClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at tcl.lang.JavaInvoke.getClassByName(Compiled Code)
        at tcl.lang.FuncSig.get(Compiled Code)
        at tcl.lang.JavaInvoke.newInstance(Compiled Code)
        at tcl.lang.JavaNewCmd.cmdProc(Compiled Code)
        at tcl.lang.Interp.callCommand(Compiled Code)


I don't see anything protected being accessed in the deregister method 
of the class. Any help would be greatly appreciated.
Part of the java code is as follows:

# CircuitEnet.java
package bay.jets.circuits;
public class CircuitEnet extends Circuit 
{
  .
  private Hashtable  enets;
  .
  public void deregister (Enet enet)
   {
     enets.remove(enet.address);
     enet.lowerLayer = null;
   }
   .
   .
}


# Enet.java
package bay.jets.media;
public class Enet extends Layer 
{
  .
  public final MacAddress address;  
  .
}

# Layer.java
public class Layer 
{
  .
  public Layer lowerLayer;
  .
}


Thanks in advance.

Sandeep

----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
A list archive is at: http://www.findmail.com/listsaver/tcldallas/

Reply via email to