james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann" <bernd.fonderm...@googlemail.com>
Subject Re: svn commit: r697415 - /james/postage/trunk/src/main/java/org/apache/james/postage/jmx/JVMResourceSampler.java
Date Sat, 20 Sep 2008 20:38:59 GMT
On Sat, Sep 20, 2008 at 22:29, Stefano Bagnara <apache@bago.org> wrote:
> Bernd Fondermann ha scritto:
>>
>> I've seen this error on a MacBook and a Windows machine.
>>
>> The Mac has
>>
>> java version "1.5.0_13"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
>> Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
>>
>> running. The Intellij IDEA 8.0M1 JVM on the same machine does not see any
>> problems with it, either.
>>
>> Anyway, it doesn't hurt to have the cast, doesn't it?
>
> No, I was just curious to understand my mistakes :-) .. and I hope I'll
> remember this the next time I'll want to clean up warnings.. :-/
>
> BTW I see that if we require java5 that reflection can simply be removed in
> favor of a direct invoke.

... and the split into JVMResourceSampler and JVMResourceSamplerWorker
is no longer needed, you are right.

I'll open a JIRA for that.

  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message