summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Megert2012-02-23 21:52:11 (EST)
committer Satyam Kandula2012-02-23 21:52:11 (EST)
commit88fda3edbb235ca07ba1c50b6885e3cd0955511a (patch)
treeb9979c7ce00f3035ac7dc060775a2e9e9b54bfda
parent829046a361301380cac04e3af6844e4acd156d61 (diff)
downloadeclipse.jdt.core-88fda3edbb235ca07ba1c50b6885e3cd0955511a.zip
eclipse.jdt.core-88fda3edbb235ca07ba1c50b6885e3cd0955511a.tar.gz
eclipse.jdt.core-88fda3edbb235ca07ba1c50b6885e3cd0955511a.tar.bz2
Fix for 372351:Illegal implementation of
'org.eclipse.jdt.internal.compiler.env.ICompilationUnit' in Tomcat Jasper
-rw-r--r--org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties2
-rw-r--r--org.eclipse.jdt.core/buildnotes_jdt-core.html17
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemHandler.java9
3 files changed, 24 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
index 09180eb..85eeee1 100644
--- a/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
+++ b/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties
@@ -20,7 +20,7 @@
#Format: compiler.name = word1 word2 word3
compiler.name = Eclipse Compiler for Java(TM)
#Format: compiler.version = 0.XXX[, other words (don't forget the comma if adding other words)]
-compiler.version = 0.C35, 3.8.0 M6
+compiler.version = 0.C36, 3.8.0 M6
compiler.copyright = Copyright IBM Corp 2000, 2011. All rights reserved.
### progress
diff --git a/org.eclipse.jdt.core/buildnotes_jdt-core.html b/org.eclipse.jdt.core/buildnotes_jdt-core.html
index 4e0c612..e0bc357 100644
--- a/org.eclipse.jdt.core/buildnotes_jdt-core.html
+++ b/org.eclipse.jdt.core/buildnotes_jdt-core.html
@@ -42,11 +42,26 @@
</td>
</tr>
</table>
+<a name="v_C36"></a>
+<hr><h1>
+Eclipse Platform Build Notes<br>
+Java development tools core</h1>
+Eclipse SDK 3.8.0 - %date% - 3.8.0 M6
+<br>Project org.eclipse.jdt.core v_C36
+(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C36">cvs</a>).
+<h2>What's new in this drop</h2>
+
+<h3>Problem Reports Fixed</h3>
+<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=372351">372351</a>
+Illegal implementation of 'org.eclipse.jdt.internal.compiler.env.ICompilationUnit' in Tomcat Jasper
+<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=220928">220928</a>
+[buildpath] Should be able to ignore warnings from certain source folders
+
<a name="v_C35"></a>
<hr><h1>
Eclipse Platform Build Notes<br>
Java development tools core</h1>
-Eclipse SDK 3.8.0 - February 21, 2012 - 3.8.0 M6
+Eclipse SDK 3.8.0 - February 21, 2012
<br>Project org.eclipse.jdt.core v_C35
(<a href="http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/?only_with_tag=v_C35">cvs</a>).
<h2>What's new in this drop</h2>
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemHandler.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemHandler.java
index e3613a5..eed331a 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemHandler.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemHandler.java
@@ -119,8 +119,13 @@ public void handle(
if ((severity & ProblemSeverities.Optional) != 0 && problemId != IProblem.Task) {
ICompilationUnit cu = unitResult.getCompilationUnit();
- if (cu != null && cu.ignoreOptionalProblems())
- return;
+ try{
+ if (cu != null && cu.ignoreOptionalProblems())
+ return;
+ // workaround for illegal implementation of ICompilationUnit, see https://bugs.eclipse.org/372351
+ } catch (AbstractMethodError ex) {
+ // continue
+ }
}
// if no reference context, we need to abort from the current compilation process