changeset 22132:19205292b0c7

Suppressing "try" lints
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Fri, 04 Sep 2015 09:10:27 +0200
parents 626862cfa58d
children c334865b9d42
files truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/TruffleVM.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/TruffleVM.java	Thu Sep 03 17:56:41 2015 +0200
+++ b/truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/TruffleVM.java	Fri Sep 04 09:10:27 2015 +0200
@@ -441,6 +441,7 @@
         return new Symbol(lang[0], result, ready);
     }
 
+    @SuppressWarnings("try")
     private void evalImpl(Debugger[] fillIn, Source s, Object[] result, TruffleLanguage<?> l, CountDownLatch ready) {
         try (Closeable d = SPI.executionStart(this, fillIn, s)) {
             if (debugger == null) {
@@ -621,6 +622,7 @@
             return new Symbol(language, res, done);
         }
 
+        @SuppressWarnings("try")
         private void invokeImpl(Debugger[] fillIn, Object thiz, Object[] args, Object[] res, CountDownLatch done) {
             try (final Closeable c = SPI.executionStart(TruffleVM.this, fillIn, null)) {
                 if (debugger == null) {