Description:
PIOBCL detects if the result of operation has good chance to cause overflow (multiplication, left shift), is converted to long. As far as operation is performed with int operands, overflow can happen before conversion. Overflow can be avoided by conversion of one of operation operands to long, so operation will be performed with long operands. T his message is produced not only for explicit type conversion done by programmer, but also for implicit type conversions performed by compiler:
Example:
public long multiply(int a, int b) {
return a*b; // operands are multiplied as integers
// and then result will be converted to long
}