Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
java
/
java-tests
/
testData
/
inspection
/
dataFlow
/
fixture
/
ThrowNull.java
blob: f8bcd0715c7eab491e5d85cc4e7e8e25bb0566d0 [
file
]
class
DataFlowBug
{
public
void
add2
()
{
try
{
throw
<
warning descr
=
"Dereference of 'null' will produce 'NullPointerException'"
>
null
</
warning
>;
}
catch
(
Throwable
e
)
{
if
(
e
instanceof
NullPointerException
)
{
return
;
}
}
}
}