Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2019-05-29 09:23:15 -0400
committerFred Bricon2019-05-29 11:09:28 -0400
commit18a472052ecb8c07f46998713f40d12f711ae6df (patch)
tree8a2e5720420f0065a61384dcd9ded1eaa7308db6
parentf9f6690e30ba3085dc844c439db55596d0c674b0 (diff)
downloadm2e-core-18a472052ecb8c07f46998713f40d12f711ae6df.tar.gz
m2e-core-18a472052ecb8c07f46998713f40d12f711ae6df.tar.xz
m2e-core-18a472052ecb8c07f46998713f40d12f711ae6df.zip
Bug 547760 - Errors in the log "Failed to evaluate: ReferenceExpression
[definitionId=org.eclipse.m2e.sourcelookup.ui.m2estratum]" Only test "org.eclipse.jdt.launching.jdtstratum" property on appropriate elements (org.eclipse.debug.core.model.DebugElement) to avoid runtime exceptions. Change-Id: I81b280ff9bc8fd2e29430c1de96319b386de2304 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.m2e.sourcelookup.ui/plugin.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.m2e.sourcelookup.ui/plugin.xml b/org.eclipse.m2e.sourcelookup.ui/plugin.xml
index ccee9bfd..8233ce67 100644
--- a/org.eclipse.m2e.sourcelookup.ui/plugin.xml
+++ b/org.eclipse.m2e.sourcelookup.ui/plugin.xml
@@ -87,7 +87,10 @@
</count>
<iterate
ifEmpty="false"
- operator="or">
+ operator="and">
+ <instanceof
+ value="org.eclipse.debug.core.model.DebugElement">
+ </instanceof>
<test
property="org.eclipse.jdt.launching.jdtstratum">
</test>

Back to the top