c26768
diff --git a/pom.xml b/pom.xml
c26768
index 53db856..cec146f 100644
c26768
--- a/pom.xml
c26768
+++ b/pom.xml
c26768
@@ -135,12 +135,9 @@
c26768
                 <configuration>
c26768
                     <source>1.7</source>
c26768
                     <target>1.7</target>
c26768
-                    <compilerArgument>-Xlint:unchecked</compilerArgument>
c26768
+                    
c26768
                     <excludes>
c26768
                         <exclude>
c26768
-                            org/apache/jasper/compiler/JDTJavaCompiler.java
c26768
-                        </exclude>
c26768
-                        <exclude>
c26768
                             org/apache/jasper/compiler/AntJavaCompiler.java
c26768
                         </exclude>
c26768
                         <exclude>
c26768
diff --git a/src/main/java/org/apache/jasper/compiler/JDTJavaCompiler.java b/src/main/java/org/apache/jasper/compiler/JDTJavaCompiler.java
c26768
index 9008e9b..33b925e 100644
c26768
--- a/src/main/java/org/apache/jasper/compiler/JDTJavaCompiler.java
c26768
+++ b/src/main/java/org/apache/jasper/compiler/JDTJavaCompiler.java
c26768
@@ -248,6 +248,8 @@ public class JDTJavaCompiler implements JavaCompiler {
c26768
                 return className.toCharArray();
c26768
             }
c26768
             
c26768
+            public boolean ignoreOptionalProblems() {return false;}
c26768
+
c26768
             public char[] getContents() {
c26768
                 char[] result = null;
c26768
                 Reader reader = null;