Affects PMD Version: 6.36.0
Rule: AvoidUsingOctalValues
Description: The rule should report octal literals that contain underscores
Code Sample demonstrating the issue:
class Test {
int i = 0_711;
}
Expected outcome: a violation
PMD should report a violation at line ..., but doesn't. This is a false-negative.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
Affects PMD Version: 6.36.0
Rule: AvoidUsingOctalValues
Description: The rule should report octal literals that contain underscores
Code Sample demonstrating the issue:
Expected outcome: a violation
PMD should report a violation at line ..., but doesn't. This is a false-negative.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]