Blame SOURCES/eclipse-ebz542708.patch

11dc0f
From ceaa5685fe7f51dae0ce444407d2aea7a49b8896 Mon Sep 17 00:00:00 2001
11dc0f
From: Lakshminarayana Nekkanti
11dc0f
Date: Mon, 3 Jun 2019 15:12:13 +0530
11dc0f
Subject: Bug 542708 - stale JRE shown in Package Explorer after changing it
11dc0f
 from 9 or above to 11
11dc0f
11dc0f
Change-Id: Ia9ef62a7e90fb12c9107bfaaf2f47af97fca75fb
11dc0f
Signed-off-by: Lakshminarayana Nekkanti <narayana.nekkanti@gmail.com>
11dc0f
---
11dc0f
 .../jdt/internal/ui/packageview/PackageExplorerContentProvider.java     | 2 +-
11dc0f
 1 file changed, 1 insertion(+), 1 deletion(-)
11dc0f
11dc0f
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
11dc0f
index ff62fa9eda..143364142a 100644
11dc0f
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
11dc0f
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
11dc0f
@@ -657,7 +657,7 @@ public class PackageExplorerContentProvider extends StandardJavaElementContentPr
11dc0f
 				return false;
11dc0f
 			}
11dc0f
 			// if the class path has changed we refresh the entire project
11dc0f
-			if ((flags & IJavaElementDelta.F_RESOLVED_CLASSPATH_CHANGED) != 0) {
11dc0f
+			if ((flags & (IJavaElementDelta.F_CLASSPATH_CHANGED | IJavaElementDelta.F_RESOLVED_CLASSPATH_CHANGED)) != 0) {
11dc0f
 				postRefresh(element, ORIGINAL, element, runnables);
11dc0f
 				return false;
11dc0f
 			}
11dc0f
-- 
11dc0f
cgit v1.2.1
11dc0f