Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2011-08-05 07:15:11 +0000
committerDani Megert2011-08-05 07:15:11 +0000
commitd6a9e824ab01117f71f73ecc3d2d604bad4970f9 (patch)
treeaec2f8a8ffde32a0b04573efa5c75bbdcd8a0bb2 /org.eclipse.text
parent1abe55bf00e9eaa8625d330b9222628860889910 (diff)
downloadeclipse.platform.text-d6a9e824ab01117f71f73ecc3d2d604bad4970f9.tar.gz
eclipse.platform.text-d6a9e824ab01117f71f73ecc3d2d604bad4970f9.tar.xz
eclipse.platform.text-d6a9e824ab01117f71f73ecc3d2d604bad4970f9.zip
Fixed bug 345715: [implementation] AnnotationModel.fModificationStamp leaks annotations
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.text/META-INF/MANIFEST.MF b/org.eclipse.text/META-INF/MANIFEST.MF
index 0e2081848..6118504d0 100644
--- a/org.eclipse.text/META-INF/MANIFEST.MF
+++ b/org.eclipse.text/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.text
-Bundle-Version: 3.5.100.qualifier
+Bundle-Version: 3.5.200.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Export-Package:
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
index ee43234f5..ce346c903 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/source/AnnotationModel.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2010 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 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
@@ -361,7 +361,7 @@ public class AnnotationModel implements IAnnotationModel, IAnnotationModelExtens
if (fModelEvent == null) {
fModelEvent= createAnnotationModelEvent();
fModelEvent.markWorldChange(false);
- fModificationStamp= fModelEvent;
+ fModificationStamp= new Object();
}
return fModelEvent;
}

Back to the top