[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update to the signal handling patch
On Fri, 30 Mar 2001, Peter Schuller wrote:
> > Thanks! Does your patch run _and_ compile with pre-jdk1.3. I had a brief view
> > and it seems to be so - just to make sure.
>
> Yes, I just compiled and ran it with JDK 1.2 (blackdown/linux), just to make
> extra sure. But there's really no reason for it not to, since it's all
> reflection... I didn't try 1.1, but again I don't see why there would be any
> problem - assuming the rest of Ozone compiles in 1.1.
Great! Thanks.
>
> Btw, I was going to update again so to make it use env.logWriter for
> logging, but it assumes the sender is an Object. Any objections to me adding
> a method that takes a java.lang.Class directly as an argument? That way
> LogWriter:s are easier to use in static contexts.
I've checked in a quick patch that allows to specify Classes as sender. So you
can write something like .newEntry( MyClass.class, "message", ...)
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com