Affects PMD Version: 6.7.0-SNAPSHOT (and earlier)
Rule: java-performance/RedundantFieldInitializer
Description: The rule fails to parse 0xffffffffffffffffL
with a NumberFormatException.
Code Sample demonstrating the issue:
public class RedundantFieldInitializerTest {
private long hexLongMinusOne = 0xffffffffffffffffL;
}
Running PMD through: any
Thanks to @djydewang for finding this bug!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4