Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvrubezhny2015-03-02 02:40:02 +0000
committervrubezhny2015-03-02 02:42:13 +0000
commitf6bd2c69ce4a8036a52ddcee3bacc9f65ac8f285 (patch)
tree414dc17da13fa37c942042f14e988b8e8529207f
parentd3cfc0479c64cf5de63cb840850fc81553f34c02 (diff)
downloadwebtools.jsdt-f6bd2c69ce4a8036a52ddcee3bacc9f65ac8f285.tar.gz
webtools.jsdt-f6bd2c69ce4a8036a52ddcee3bacc9f65ac8f285.tar.xz
webtools.jsdt-f6bd2c69ce4a8036a52ddcee3bacc9f65ac8f285.zip
Bug 433515 - Eclipse freezes every few minutes
Issue is fixed Signed-off-by: vrubezhny <vrubezhny@exadel.com>
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java
index 1784e00a0..32b6ccd5d 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/CompilationUnitScope.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2013 IBM Corporation and others.
+ * Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -674,6 +674,7 @@ public class CompilationUnitScope extends BlockScope {
//only add if field with name that is not already added
if(!superBindingFieldsNames.includes(fieldsOnGlobalField[fieldsOnGlobalFieldIndex].name)) {
superBindingFields.add(fieldsOnGlobalField[fieldsOnGlobalFieldIndex]);
+ superBindingFieldsNames.add(fieldsOnGlobalField[fieldsOnGlobalFieldIndex].name);
}
}
}

Back to the top