New J2K: Split old j2k and new j2k tests
This commit is contained in:
committed by
Ilya Kirillov
parent
02a206bf7c
commit
b411e8e18e
@@ -0,0 +1,18 @@
|
||||
//file
|
||||
import java.io.*;
|
||||
|
||||
public class C {
|
||||
void foo() {
|
||||
try(InputStream stream = new ByteArrayInputStream(new byte[10])) {
|
||||
// reading something
|
||||
int c = stream.read();
|
||||
System.out.println(c);
|
||||
}
|
||||
catch (IOException e) {
|
||||
System.out.println(e);
|
||||
}
|
||||
catch (Exception e) {
|
||||
System.err.println(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user