Error Prone 2.28.0
Error Prone nows supports the latest JDK 23 EA builds (#4412, #4415).
Closed issues:
- Improved errors for invalid check severities (#4306).
- Fix a crash with nested
instanceofpatterns (#4349). - Fix a crash in JUnitIncompatibleType (#4377).
- In ObjectEqualsForPrimitives, don't suggest replacing
equalwith==for floating-point values (#4392).
New checks:
DeeplyNesteddiscourages very deeply nested code that can cause StackOverflowErrors during compilation.GuiceNestedCombinediscourages nesting ofModules.combine(), which is unnecessary.PatternMatchingInstanceofmigrates code to use pattern matching forinstanceofSunApidiscourages use of internal proprietary JDK APIs which may be removed from future releases.
Full Changelog: v2.27.1...v2.28.0