Skip to content

Commit 799dd39

Browse files
committed
Suppress deprecation warning in TranslateExceptionNode
1 parent 72d1f41 commit 799dd39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/truffleruby/language/methods/TranslateExceptionNode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public static void logUncaughtJavaException(RubyContext context, Node currentNod
7070
}
7171
}
7272

73+
@SuppressWarnings("deprecation")
7374
@Specialization
7475
protected RuntimeException translate(Throwable throwable, UnsupportedOperationBehavior unsupportedOperationBehavior,
7576
@Cached BranchProfile controlProfile,

0 commit comments

Comments
 (0)