Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
refs/tags/v1.4.0-rc
/
.
/
nj2k
/
testData
/
newJ2k
/
tryWithResource
/
Simple.java
blob: f1d813522eb3a9cbb1bc05f7d56dc2de93c4e9ff [
file
] [
log
] [
blame
]
//file
import
java
.
io
.*;
public
class
C
{
void
foo
()
throws
IOException
{
try
(
InputStream
stream
=
new
ByteArrayInputStream
(
new
byte
[
10
]))
{
System
.
out
.
println
(
stream
.
read
());
}
}
}