--- /dev/null 2015-08-31 00:12:54.703509796 +0300 +++ new/test/tools/javac/TryWithResources/TwrAndAnonymousClass.out 2015-10-19 06:34:51.999907747 +0300 @@ -0,0 +1,3 @@ +TwrAndAnonymousClass.java:27:14: compiler.err.prob.found.req: (compiler.misc.try.not.applicable.to.type: (compiler.misc.inconvertible.types: java.lang.Object, java.lang.AutoCloseable)) +TwrAndAnonymousClass.java:31:21: compiler.err.prob.found.req: (compiler.misc.try.not.applicable.to.type: (compiler.misc.inconvertible.types: java.lang.Object, java.lang.AutoCloseable)) +2 errors