There seems to be more going on. I remember writting a simple JNI method to replace intToFloat, but the JNI bridge seemed to have inserted some magic that checks for NaN and modifies the value.
Also, this behaviour is not limited to Oracle’s VM. Dalvik exhibits the same behaviour, and that uses a modified Harmony class library. Can anyone try with Excelsior?
Who’s gonna flip the bat sign switch?