Java 7 update to fix problems with Apache Lucene
The problem was discovered a few days before the release of JDK 7, but there wasn't enough time to fix the flaw – when used with Apache Lucene and Apache Solr, Java 7 caused incorrect calculations and crashed the Java Virtual Machine. Lucene and Solr were practically paralysed. Now, Oracle has officially confirmed that some of the flaws have been fixed in Java 7 Update 1.
Although the update was deployed a few days ago, at that time the release notes contained no information about the status of the bugs – see bug IDs 7068051, 7044738 and 7077439; 7070134 is not available but has also been fixed. Oracle has now updated the release notes confirming that four JIT and loop bugs have been fixed. According to Uwe Schindler, committer for Apache Lucene and Solr, it is now safe to use Apache Lucene and Solr with Java 7 Update 1; however, Schindler does expressly point out that it is still not recommended to use the
-XX:AggressiveOpts setting on any JVM in production use.