Keith McNeill from Streambase reported the problem with latest jdk6u6 on linux-x86 32-bits VM.
Keith McNeill wrote:
> Hotspot is producing incorrect code deep in the bowels of our system.
> A simple example doesn't produce the problem.
> java -Xinternalversion
> Java HotSpot(TM) Server VM (10.0-b22) for linux-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 00:26:44 by "java_re" with gcc 3.2.1-7a (J2SE release)
> Note that the problem has occurred on every 1.6 jdk I've tried up to the latest 1.6.0_10 beta
> The problem does not occur on JDK 1.5
> I've enclosed a tarfile. With the debug VM the problem is much more
> intermittent than without the debug VM. So I've included output from 2
> runs. One showing the problem (bad directory). The other not showing
> the problem (good directory).
> I've also included the source and the .class file for the class in