mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
38 lines
749 B
Java
38 lines
749 B
Java
// LocalsOrMyInstanceFieldsControlFlowPolicy
|
|
// SCR 12926
|
|
|
|
import java.rmi.RemoteException;
|
|
|
|
public class B {
|
|
public Object show(Object obj)
|
|
{
|
|
try
|
|
{
|
|
throw new NullPointerException();
|
|
}
|
|
catch ( NullPointerException npe )
|
|
{
|
|
}
|
|
finally
|
|
{<caret>
|
|
if ( obj != null )
|
|
{
|
|
try
|
|
{
|
|
throw new RemoteException();
|
|
}
|
|
catch ( RemoteException re )
|
|
{
|
|
System.out.println( re );
|
|
}
|
|
finally
|
|
{
|
|
obj = null;
|
|
}
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
}
|