void () { doTest( """ import java.io.*; class C { void m(StringReader r1, StringReader r2) { try/*_Replace 'try-with-resources' with 'try finally'*/ (r1; r2) { System.out.println(r1); } catch (RuntimeException e) { e.printStackTrace(); } } } """, """ import java.io.*; class C { void m(StringReader r1, StringReader r2) { try { try { try { System.out.println(r1); } finally { r2.close(); } } finally { r1.close(); } } catch (RuntimeException e) { e.printStackTrace(); } } } """ ); }