Does someone (i.e. Marcus :-) have the source to conftest.class which is used by the Java testsuite? I'm seeing an error on OS X (both JDK 1.3.1 and 1.4.1) where double values are sent as either 0.0 or Inf so I'd be interested in adding debug code to the Java side.
Could this be as simple as a struct padding or data alignment error? None of the other data types in that test fail, only double values.