# HG changeset patch # User Jaroslav Tulach # Date 1441350627 -7200 # Node ID 19205292b0c71884158482e296c83dc003864869 # Parent 626862cfa58d2264197ecdeceb3cba8d62ff8343 Suppressing "try" lints diff -r 626862cfa58d -r 19205292b0c7 truffle/com.oracle.truffle.api.vm/src/com/oracle/truffle/api/vm/TruffleVM.java --- 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) {