mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
moved to community
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user