After I call (bload ...) with Jess70b5, I notice that the value of Rete.getGlobalContext().getEngine() changes. As a result, the output router for Userfunctions such as (agenda) changes, too. When I instrument Rete.bload(), I see that the value of Rete.getGlobalContext().getEngine() changes after the step

   m_classSource = (ClassSource) ois.readObject();

Should ClassSource.m_engine be transient?  Else, I think,

   ois.readObject() will eventually invoke
   ClassSource.readObject(), which calls
   ObjectInputStream.defaultReadObject(), which,
   when it reaches the non-transient ClassSource.m_engine field, calls
   the no-argument Rete constructor, which
   creates a new global Context, and

sets its own (new) address into Context.m_engine.

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to