1 Star 0 Fork 6

王歌/glassfish-jsp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
glassfish-jsp-build-eclipse-compilers.patch 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2024-05-11 15:52 +08:00 . update to version 2.3.4
diff --git a/org/apache/jasper/compiler/JDTJavaCompiler.java b/org/apache/jasper/compiler/JDTJavaCompiler.java
index 9008e9b..04b7c11 100644
--- a/org/apache/jasper/compiler/JDTJavaCompiler.java
+++ b/org/apache/jasper/compiler/JDTJavaCompiler.java
@@ -247,6 +247,8 @@ public class JDTJavaCompiler implements JavaCompiler {
public char[] getFileName() {
return className.toCharArray();
}
+
+ public boolean ignoreOptionalProblems() {return false;}
public char[] getContents() {
char[] result = null;
diff --git a/pom.xml b/pom.xml
index d507923..a51b91f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,11 +138,8 @@
<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>
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wang--ge/glassfish-jsp.git
git@gitee.com:wang--ge/glassfish-jsp.git
wang--ge
glassfish-jsp
glassfish-jsp
master

搜索帮助