You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2011/07/28 22:37:23 UTC

svn commit: r1151991 - in /lucene/site: publish/ publish/skin/ src/documentation/content/xdocs/

Author: uschindler
Date: Thu Jul 28 20:37:22 2011
New Revision: 1151991

URL: http://svn.apache.org/viewvc?rev=1151991&view=rev
Log:
add java 7 warning to main site

Modified:
    lucene/site/publish/index.html
    lucene/site/publish/index.pdf
    lucene/site/publish/linkmap.pdf
    lucene/site/publish/mail.pdf
    lucene/site/publish/skin/basic.css
    lucene/site/publish/skin/print.css
    lucene/site/publish/skin/profile.css
    lucene/site/publish/skin/screen.css
    lucene/site/publish/who.pdf
    lucene/site/src/documentation/content/xdocs/index.xml

Modified: lucene/site/publish/index.html
URL: http://svn.apache.org/viewvc/lucene/site/publish/index.html?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/publish/index.html (original)
+++ lucene/site/publish/index.html Thu Jul 28 20:37:22 2011
@@ -199,6 +199,9 @@ document.write("Last Published: " + docu
 <a href="#News">News</a>
 <ul class="minitoc">
 <li>
+<a href="#28+July+2011+-+WARNING%3A+Index+corruption+and+crashes+in+Apache+Lucene+Core+%2F+Apache+Solr+with+Java+7">28 July 2011 - WARNING: Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7</a>
+</li>
+<li>
 <a href="#1+July+2011+-+Lucene+Core+3.3+and+Solr+3.3+Available">1 July 2011 - Lucene Core 3.3 and Solr 3.3 Available</a>
 </li>
 <li>
@@ -263,7 +266,45 @@ the <a href="http://lucene.apache.org/ja
 <a name="N10047"></a><a name="News"></a>
 <h2 class="h3">News</h2>
 <div class="section">
-<a name="N1004D"></a><a name="1+July+2011+-+Lucene+Core+3.3+and+Solr+3.3+Available"></a>
+<a name="N1004D"></a><a name="28+July+2011+-+WARNING%3A+Index+corruption+and+crashes+in+Apache+Lucene+Core+%2F+Apache+Solr+with+Java+7"></a>
+<h3 class="h4">28 July 2011 - WARNING: Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7</h3>
+<p>Oracle released <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java 7</a> today.
+          Unfortunately it contains hotspot compiler optimizations, which miscompile some loops.
+          This can affect code of several Apache projects. Sometimes JVMs only crash, but in several cases,
+          results calculated can be incorrect, leading to bugs in applications
+          (see Hotspot bugs <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134">7070134</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738">7044738</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051">7068051</a>).</p>
+<p>
+<strong>Apache Lucene Core</strong> and <strong>Apache Solr</strong> are two Apache projects,
+          which are affected by these bugs, namely all versions released until today.
+          Solr users with the default configuration will have
+          Java crashing with <span class="codefrag">SIGSEGV</span> as soon as they start to index documents, as one
+          affected part is the well-known Porter stemmer
+          (see <a href="https://issues.apache.org/jira/browse/LUCENE-3335">LUCENE-3335</a>).
+          Other loops in Lucene may be miscompiled, too, leading to index corruption
+          (especially on Lucene trunk with pulsing codec; other loops may be
+          affected, too - <a href="https://issues.apache.org/jira/browse/LUCENE-3346">LUCENE-3346</a>).</p>
+<p>These problems were detected only 5 days before the official Java 7 release,
+          so Oracle had no time to fix those bugs, affecting also many more applications.
+          In response to our questions, they proposed to include the fixes into service
+          release u2 (eventually into service release u1, see
+          <a href="http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2011-July/005971.html">this mail</a>).
+          <strong>This means you cannot use Apache Lucene/Solr with Java 7 releases before Update 2!</strong>
+          If you do, please don't open bug reports, it is not the committers' fault!
+          At least disable loop optimizations using the <span class="codefrag">-XX:-UseLoopPredicate</span> JVM option
+          to not risk index corruptions.</p>
+<p>
+<em>Please note:</em> Also Java 6 users are affected, if they use one of those
+          JVM options, which are <strong>not</strong> enabled by default: <span class="codefrag">-XX:+OptimizeStringConcat</span>
+          or <span class="codefrag">-XX:+AggressiveOpts</span>.</p>
+<p>It is strongly recommended not to use any hotspot optimization switches in any Java
+          version without extensive testing!</p>
+<p>In case you upgrade to Java 7, remember that you may have to reindex, as the unicode
+          version shipped with Java 7 changed and tokenization behaves differently
+          (e.g. lowercasing). For more information, read <span class="codefrag">JRE_VERSION_MIGRATION.txt</span>
+          in your distribution package!</p>
+<a name="N1009D"></a><a name="1+July+2011+-+Lucene+Core+3.3+and+Solr+3.3+Available"></a>
 <h3 class="h4">1 July 2011 - Lucene Core 3.3 and Solr 3.3 Available</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.3 and Apache Solr 3.3.
                         </p>
@@ -323,7 +364,7 @@ the <a href="http://lucene.apache.org/ja
 <li>Bugfixes and improvements from Apache Lucene 3.3</li>
                         
 </ul>
-<a name="N1009D"></a><a name="4+June+2011+-+Lucene+Core+3.2+and+Solr+3.2+Available"></a>
+<a name="N100ED"></a><a name="4+June+2011+-+Lucene+Core+3.2+and+Solr+3.2+Available"></a>
 <h3 class="h4">4 June 2011 - Lucene Core 3.2 and Solr 3.2 Available</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.2 and Apache Solr 3.2.
                         </p>
@@ -388,7 +429,7 @@ the <a href="http://lucene.apache.org/ja
 <li>Bugfixes and improvements from Apache Lucene 3.2. </li>
                         
 </ul>
-<a name="N100ED"></a><a name="31+March+2011+-+Lucene+Core+3.1+and+Solr+3.1+Available"></a>
+<a name="N1013D"></a><a name="31+March+2011+-+Lucene+Core+3.1+and+Solr+3.1+Available"></a>
 <h3 class="h4">31 March 2011 - Lucene Core 3.1 and Solr 3.1 Available</h3>
 <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.1 and Apache Solr 3.1.
 				The version number for Solr 3.1 was chosen to reflect the merge of
@@ -477,7 +518,7 @@ the <a href="http://lucene.apache.org/ja
 
 				
 </ul>
-<a name="N10150"></a><a name="3+December+2010+-+Lucene+Java+3.0.3+and+2.9.4+available"></a>
+<a name="N101A0"></a><a name="3+December+2010+-+Lucene+Java+3.0.3+and+2.9.4+available"></a>
 <h3 class="h4">3 December 2010 - Lucene Java 3.0.3 and 2.9.4 available</h3>
 <p>
           Both releases fix bugs in the previous versions:
@@ -532,7 +573,7 @@ the <a href="http://lucene.apache.org/ja
           Maven artifacts are available 
           <a href="http://repo1.maven.org/maven2/org/apache/lucene/">here</a>.
         </p>
-<a name="N101AB"></a><a name="25+June+2010+-+Solr+1.4.1+Released"></a>
+<a name="N101FB"></a><a name="25+June+2010+-+Solr+1.4.1+Released"></a>
 <h3 class="h4">25 June 2010 - Solr 1.4.1 Released</h3>
 <p>
            Solr 1.4.1 has been released and is now available for public
@@ -545,7 +586,7 @@ the <a href="http://lucene.apache.org/ja
           See the <a href="http://svn.apache.org/repos/asf/lucene/solr/tags/release-1.4.1/CHANGES.txt">release notes</a>
           for more details.
           </p>
-<a name="N101C0"></a><a name="18+June+2010+-+Lucene+Java+3.0.2+and+2.9.3+available"></a>
+<a name="N10210"></a><a name="18+June+2010+-+Lucene+Java+3.0.2+and+2.9.3+available"></a>
 <h3 class="h4">18 June 2010 - Lucene Java 3.0.2 and 2.9.3 available</h3>
 <p>
           Both releases fix bugs in the previous versions:

Modified: lucene/site/publish/index.pdf
URL: http://svn.apache.org/viewvc/lucene/site/publish/index.pdf?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/site/publish/linkmap.pdf
URL: http://svn.apache.org/viewvc/lucene/site/publish/linkmap.pdf?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/site/publish/mail.pdf
URL: http://svn.apache.org/viewvc/lucene/site/publish/mail.pdf?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/site/publish/skin/basic.css
URL: http://svn.apache.org/viewvc/lucene/site/publish/skin/basic.css?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/publish/skin/basic.css (original)
+++ lucene/site/publish/skin/basic.css Thu Jul 28 20:37:22 2011
@@ -163,4 +163,4 @@ p {
 .codefrag {
   font-family: "Courier New", Courier, monospace;
   font-size: 110%;
-}
\ No newline at end of file
+}

Modified: lucene/site/publish/skin/print.css
URL: http://svn.apache.org/viewvc/lucene/site/publish/skin/print.css?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/publish/skin/print.css (original)
+++ lucene/site/publish/skin/print.css Thu Jul 28 20:37:22 2011
@@ -51,4 +51,4 @@ a:link, a:visited {
 
 acronym {
   border: 0;
-}
\ No newline at end of file
+}

Modified: lucene/site/publish/skin/profile.css
URL: http://svn.apache.org/viewvc/lucene/site/publish/skin/profile.css?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/publish/skin/profile.css (original)
+++ lucene/site/publish/skin/profile.css Thu Jul 28 20:37:22 2011
@@ -164,4 +164,4 @@ a:hover { color:#6587ff} 
     #footer a:visited { color:black }
     #footer a:hover { color:black }
     #footer a { color:black }
-  
\ No newline at end of file
+  

Modified: lucene/site/publish/skin/screen.css
URL: http://svn.apache.org/viewvc/lucene/site/publish/skin/screen.css?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/publish/skin/screen.css (original)
+++ lucene/site/publish/skin/screen.css Thu Jul 28 20:37:22 2011
@@ -591,4 +591,4 @@ p.instruction {
   list-style-image: url('../images/instruction_arrow.png');
   list-style-position: outside;
   margin-left: 2em;
-} 
\ No newline at end of file
+} 

Modified: lucene/site/publish/who.pdf
URL: http://svn.apache.org/viewvc/lucene/site/publish/who.pdf?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/site/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/lucene/site/src/documentation/content/xdocs/index.xml?rev=1151991&r1=1151990&r2=1151991&view=diff
==============================================================================
--- lucene/site/src/documentation/content/xdocs/index.xml (original)
+++ lucene/site/src/documentation/content/xdocs/index.xml Thu Jul 28 20:37:22 2011
@@ -40,6 +40,42 @@ the <a href="ext:java">Lucene Core</a> p
 
     <section>
       <title>News</title>
+        <section><title>28 July 2011 - WARNING: Index corruption and crashes in Apache Lucene Core / Apache Solr with Java 7</title>
+          <p>Oracle released <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java 7</a> today.
+          Unfortunately it contains hotspot compiler optimizations, which miscompile some loops.
+          This can affect code of several Apache projects. Sometimes JVMs only crash, but in several cases,
+          results calculated can be incorrect, leading to bugs in applications
+          (see Hotspot bugs <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134">7070134</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7044738">7044738</a>,
+          <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7068051">7068051</a>).</p>
+          <p><strong>Apache Lucene Core</strong> and <strong>Apache Solr</strong> are two Apache projects,
+          which are affected by these bugs, namely all versions released until today.
+          Solr users with the default configuration will have
+          Java crashing with <code>SIGSEGV</code> as soon as they start to index documents, as one
+          affected part is the well-known Porter stemmer
+          (see <a href="https://issues.apache.org/jira/browse/LUCENE-3335">LUCENE-3335</a>).
+          Other loops in Lucene may be miscompiled, too, leading to index corruption
+          (especially on Lucene trunk with pulsing codec; other loops may be
+          affected, too - <a href="https://issues.apache.org/jira/browse/LUCENE-3346">LUCENE-3346</a>).</p>
+          <p>These problems were detected only 5 days before the official Java 7 release,
+          so Oracle had no time to fix those bugs, affecting also many more applications.
+          In response to our questions, they proposed to include the fixes into service
+          release u2 (eventually into service release u1, see
+          <a href="http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2011-July/005971.html">this mail</a>).
+          <strong>This means you cannot use Apache Lucene/Solr with Java 7 releases before Update 2!</strong>
+          If you do, please don't open bug reports, it is not the committers' fault!
+          At least disable loop optimizations using the <code>-XX:-UseLoopPredicate</code> JVM option
+          to not risk index corruptions.</p>
+          <p><em>Please note:</em> Also Java 6 users are affected, if they use one of those
+          JVM options, which are <strong>not</strong> enabled by default: <code>-XX:+OptimizeStringConcat</code>
+          or <code>-XX:+AggressiveOpts</code>.</p>
+          <p>It is strongly recommended not to use any hotspot optimization switches in any Java
+          version without extensive testing!</p>
+          <p>In case you upgrade to Java 7, remember that you may have to reindex, as the unicode
+          version shipped with Java 7 changed and tokenization behaves differently
+          (e.g. lowercasing). For more information, read <code>JRE_VERSION_MIGRATION.txt</code>
+          in your distribution package!</p>
+        </section>
                 <section><title>1 July 2011 - Lucene Core 3.3 and Solr 3.3 Available</title>
                         <p>The Lucene PMC is pleased to announce the availability of Apache Lucene 3.3 and Apache Solr 3.3.
                         </p>