Skip to content
Snippets Groups Projects
Commit a8a7f11a authored by Miloslav Metelka's avatar Miloslav Metelka
Browse files

[GR-2798] Eliminated null RCaller failure in tracing mode.

parents f6bbb534 742a9647
Branches
No related tags found
No related merge requests found
/*
* Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
......@@ -148,7 +148,7 @@ public class TraceHandling {
protected String getCallSource(VirtualFrame frame) {
RCaller caller = RArguments.getCall(frame);
String callString;
if (caller != null) {
if (caller != null && caller.isValidCaller()) {
callString = getCallerSource(caller);
} else {
callString = "<no source>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment