[concurrency-interest] Cancellation convention

Kazimierz Pogoda morisil at ncdc.pl
Fri Jun 9 05:15:16 EDT 2006


On Fri, 2006-06-09 at 09:38 +1000, Dhanji R. Prasanna wrote:
> > > java.net.SocketStream.class.equals(stackTrace[i])
> >
> > I don't grasp the idea? StackTraceElement is not an instance of Class?
> > Do you suggest me to make:
> >
> > Class.forName(stackTrace[i].getClassName())
> >
> > every time my metod is called?
> >
> 
> oops my bad, it should have read:
> 
> java.net.SocketStream.class.getName().equals(stackTrace[i].getClassName())

Unfortunately java.net.SocketInputStream is a friendly class (default
class modifier) :(

-- 
"the spirit can only withdraw into a corner. And yet, it is not at all 
 worn out or superfluous, but, like an (eternal) witness, floats above 
 the rubble of culture - almost like an  avenger of God.  As though it 
 awaited a new incarnation."
                                        -- Ludwig Wittgenstein --
Kazimierz Pogoda
mailto:morisil at ncdc.pl



More information about the Concurrency-interest mailing list