Duplicate :
|
|
Relates :
|
For example, isForwardable() calls flags[1] but flags is already null. They probably should throw an IllegalStateException, but for compatibility reason, let the return value be false. There are other methods returning a safe value or throw an IllegalStateException but without proper specification.