IncompatibleClassChangeError in jvm->DetachCurrentThread

Hi,

After recently changing from 1.5.09 to .11 (with the handle leak fixed), I now get reports from users that run my dll on JRE 1.4. about an IncompatibleClassChangeError being printed to std.err.

I have tracked it down to calls to DetachCurrentThread. The code seems to work, despite that error, so I wonder if this is related to the fixing of the handle leak in attaching / detaching threads and if it is just some forgotten debug printout in a caught exception maybe.

Has anybody seen this? Any ideas on how to avoid that printing, as I probably can't avoid to detach my thread?

Thanks

nils

[633 byte] By [sleena] at [2007-11-27 9:56:13]
# 1
So, the problem turned out to be homemade. In a recent rewrite of a callback method I mistakenly replaced callStaticVoidMethod by callVoidMethod. This makes no problems on 1.5 & 6 as it seems, but throws errors on 1.4.2 and freezes the VM on 1.4.1.Sorrynils
sleena at 2007-7-13 0:26:20 > top of Java-index,Java HotSpot Virtual Machine,Specifications...