On Monday 06 April 2009 15:39:09 [email protected] wrote: > Author: saces > Date: 2009-04-06 14:39:09 +0000 (Mon, 06 Apr 2009) > New Revision: 26561 > > Modified: > trunk/freenet/src/freenet/pluginmanager/PluginTalker.java > Log: > re-throw thread/vm fatals, the node should be notified about them. > > > Modified: trunk/freenet/src/freenet/pluginmanager/PluginTalker.java > =================================================================== > --- trunk/freenet/src/freenet/pluginmanager/PluginTalker.java 2009-04-06 11:39:50 UTC (rev 26560) > +++ trunk/freenet/src/freenet/pluginmanager/PluginTalker.java 2009-04-06 14:39:09 UTC (rev 26561) > @@ -61,8 +61,12 @@ > > try { > plugin.handle(replysender, plugparams, > data2, access); > + } catch (ThreadDeath td) { > + throw td; // Fatal, thread is stop()'ed > + } catch (VirtualMachineError vme) { > + throw vme; // OOM is included here
Not sure why this is useful? It's being run by an executor...
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
