Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlain Magloire2004-03-30 09:48:09 -0500
committerAlain Magloire2004-03-30 09:48:09 -0500
commitad8331a0611b41e5ed2676f94c9e153fc1c241f5 (patch)
treeac3e513d6e8d479d4af1a3ca2b98199bfdb666ed /core
parent24a43f659dfcab8cc4618c153b789a7418fbb8f1 (diff)
downloadorg.eclipse.cdt-ad8331a0611b41e5ed2676f94c9e153fc1c241f5.tar.gz
org.eclipse.cdt-ad8331a0611b41e5ed2676f94c9e153fc1c241f5.tar.xz
org.eclipse.cdt-ad8331a0611b41e5ed2676f94c9e153fc1c241f5.zip
Check if the resource is accessible
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/ChangeLog1
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog
index e104f76af5..f042d4d79b 100644
--- a/core/org.eclipse.cdt.ui/ChangeLog
+++ b/core/org.eclipse.cdt.ui/ChangeLog
@@ -3,6 +3,7 @@
Fix PR 56734
* src/org/eclipse/cdt/internal/ui/buildconsole/BuildConsolePage.java
+ * src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java
* puglin.xml
2004-03-30 Alain Magloire
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java
index 29f0b4af82..9caee4096b 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/ErrorTickAdornmentProvider.java
@@ -75,7 +75,7 @@ public class ErrorTickAdornmentProvider implements IAdornmentProvider {
// Reasons include:
// This resource does not exist.
// This resource is a project that is not open.
- if (res == null || !res.exists()) { // for elements in archives
+ if (res == null || !res.isAccessible()) { // for elements in archives
return 0;
}
int info= 0;

Back to the top