diff truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLServer.java @ 22191:93a6b7597937

work around javac deprecation warning
author Andreas Woess <andreas.woess@oracle.com>
date Wed, 23 Sep 2015 23:55:03 +0200
parents f8f790fc01da
children 412991d0359c
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLServer.java	Wed Sep 23 23:38:44 2015 +0200
+++ b/truffle/com.oracle.truffle.sl.tools/src/com/oracle/truffle/sl/tools/debug/SLREPLServer.java	Wed Sep 23 23:55:03 2015 +0200
@@ -215,9 +215,8 @@
         }
 
         @Override
-        @SuppressWarnings("deprecation")
-        public com.oracle.truffle.api.vm.TruffleVM vm() {
-            return (com.oracle.truffle.api.vm.TruffleVM) vm;
+        public PolyglotEngine engine() {
+            return vm;
         }
 
         @Override