Don't type 2.2250738585072012e-308 in java.

There is a long standing bug in Oracle's Java (even the latest version) where using 2.2250738585072012e-308 as an input causes the JVM to go into an infinitie loop. Even the compiler and your IDE can go into an infinite loop if you use it in code. :P

Comments

  1. Oracle has issued a patch for this bug. http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html

    ReplyDelete

Post a Comment

Popular posts from this blog

Java is Very Fast, If You Don’t Create Many Objects

System wide unique nanosecond timestamps

Unusual Java: StackTrace Extends Throwable