You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
glassfish-jsp/SOURCES/glassfish-jsp-build-eclipse...

32 lines
1.4 KiB

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