I\'m sure you all know the behaviour I mean - code such as:
Thread thread = new Thread(); int activeCount = thread.activeCount();
provokes
Probably you can change it in your IDE (in Eclipse Preferences -> Java -> Compiler -> Errors/Warnings)