Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
index 44a693a6b..cecf22dad 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
@@ -288,11 +288,14 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
}
if (!test_suite.isActive(TestRCBP1.this)) return;
assert test_ctx_id != null;
- if (!symbol.isAbs()) {
- exit(new Exception("Symbols must be absolute: " + name));
+ if (symbol == null) {
+ exit(new Exception("Symbol must not be NULL: " + name));
+ }
+ else if (!symbol.isAbs()) {
+ exit(new Exception("Symbol must be absolute: " + name));
}
else if (symbol.getValue() == null || symbol.getValue().longValue() == 0) {
- exit(new Exception("Symbols must not be NULL: " + name));
+ exit(new Exception("Symbol value must not be NULL: " + name));
}
else {
sym_list.put(name, symbol);

Back to the top