more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 10:48:17 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// "Defer assignment to 'n' using temp variable" "true"
import java.io.*;
class a {
void f(InputStream in) {
final int n;
try {
n = in.read();
} catch (IOException e) {
<caret>n = -1;
}
int y = 4;
}
}