• Post Reply Bookmark Topic Watch Topic
  • New Topic

detecting endless loops  RSS feed

 
Suat Ugurlu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
is it possible to block a class being loaded that includes a method
in which an endless loop is written.

suppose there is a class , myclass like;

public class myclass {
public void mymethod {
while (true) {
some_code_here();
}
}
}

I want to restric loading and object of myclass or calling
mymethod of the object at run time. is it possible?

Regards,Suat.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!