I agree, and this does seem to clear up the (hitherto mystifying)
problem you reported this weekend. Good detective work! I can
incorporate this in this week's release.

I think Jonathan Sewall wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> 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]
> --------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
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