Sorry for my English.
I have a Thread with method:
@Override
public void run()
{
try
{
System.out.println( "Hello world" );
Thread.sleep( 10 );
}
catch( InterruptedException e )
{
e.printStackTrace();
}
finally
{
while( true )
System.out.println( "FINALLYYY" );
}
}
and I suggest, that this thread never can be stopped! After calling methods interrupt or stop - in finally block thread will start infinity loop.
How I can force the thread to stop?