Skip to content

Apache Lucene open-source search software

LUCENE-2630: allow lucene to be built with non-sun jvms

Robert Muirf4d106b4d072
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 4ba97496c77..6d1a9fd9547 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -643,8 +643,8 @@
source="@{javac.source}"
target="@{javac.target}">
<nested/>
- <compilerarg line="-Xmaxwarns 10000000"/>
- <compilerarg line="-Xmaxerrs 10000000"/>
+ <!-- <compilerarg line="-Xmaxwarns 10000000"/>
+ <compilerarg line="-Xmaxerrs 10000000"/> -->
<!-- for generics in Java 1.5: -->
<!--<compilerarg line="-Xlint:unchecked"/>-->
</javac>