class runhang { public static void main(String[] args) { System.out.println("Test:"); double d = Double.parseDouble("2.2250738585072012e-308"); System.out.println("Value: " + d); } } |
via Java Hangs When Converting 2.2250738585072012e-308 – Exploring Binary.
Don’t try this on production machines… :)