Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
index 86ea73e09e..16e21bbce3 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
@@ -9582,6 +9582,7 @@ protected CompilationUnitDeclaration endParse(int act) {
this.scanner.foundTaskPositions[i][0],
this.scanner.foundTaskPositions[i][1]);
}
+ this.javadoc = null;
return this.compilationUnit;
}
/*
@@ -10201,6 +10202,7 @@ public void initialize() {
public void initialize(boolean initializeNLS) {
//positioning the parser for a new compilation unit
//avoiding stack reallocation and all that....
+ this.javadoc = null;
this.astPtr = -1;
this.astLengthPtr = -1;
this.expressionPtr = -1;

Back to the top