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

Eliminated null RCaller failure in tracing mode.

parent f6bbb534
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