Skip to content

Commit a78212f

Browse files
committed
[GR-17457] Cleanup after package renames in truffle and graal
PullRequest: truffleruby/4032
2 parents bff2e3d + 3f1b436 commit a78212f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/org/truffleruby/language/backtrace/BacktraceInterleaver.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ public static boolean isCallBoundary(StackTraceElement element) {
5555
// GR-47041: we need com.oracle.truffle.api.impl.Accessor.RuntimeSupport.isGuestCallStackFrame but it's not public
5656
String className = element.getClassName();
5757
String methodName = element.getMethodName();
58-
return ((className.equals("com.oracle.truffle.runtime.OptimizedCallTarget") ||
59-
className.equals("org.graalvm.compiler.truffle.runtime.OptimizedCallTarget")) &&
58+
return (className.equals("com.oracle.truffle.runtime.OptimizedCallTarget") &&
6059
methodName.equals("executeRootNode")) ||
6160
(className.equals("com.oracle.truffle.api.impl.DefaultCallTarget") &&
6261
methodName.equals("callDirectOrIndirect"));

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,7 @@ def graph(*args)
22602260
raise "The process did not compile #{method}" unless compiled
22612261

22622262
unless igv
2263-
# See org.graalvm.compiler.debug.StandardPathUtilitiesProvider#sanitizeFileName
2263+
# See StandardPathUtilitiesProvider#sanitizeFileName in graal
22642264
method_glob_pattern = method.gsub(/[ \/\p{Cntrl}]/, '_')
22652265
if truffleruby_native?
22662266
method_glob_pattern = "{Isolated:_,}#{method_glob_pattern}"

0 commit comments

Comments
 (0)