Until the problem is solved, this could be a workaround. public class Bug { static float asis(float f) { return f;} public static void main(String[] args) { float f = asis(1.0f); System.out.println("f = "+f); } }