Sign in
third-party-mirror
/
typetools
/
checker-framework
/
0992449ea2fcfa5691fb0b323a6c95ab2c98c1f4
/
.
/
framework
/
tests
/
value
/
ExceptionTest.java
blob: 6771207a6c2159ff4c48661e2773f4368ae1e3d8 [
file
] [
log
] [
blame
]
import
org
.
checkerframework
.
common
.
value
.
qual
.*;
public
class
ExceptionTest
{
public
void
foo
()
{
int
indexTooBig
=
5
;
String
s
=
"hello"
;
// :: warning: (method.evaluation.exception)
char
c
=
s
.
charAt
(
indexTooBig
);
}
}