Version 3.54.0 (2026-03-02)
User-visible changes
Command-line arguments:
- Added
-AinferOutputDirectory. - Removed long-deprecated
-Alint=forbidnonnullarraycomponents.
New command-line argument -Aonelinemsg puts error messages on a single line. This is useful when using a tool that only shows the first line of the error.
The command-line argument -Anomsgtext surrounds the error key with brackets instead of parenthesis. This matches Java error messages.
Implementation details
In AnnotatedTypeFactory, canonicalAnnotation() returns a non-null value.
In AnnotationClassLoader:
- Renamed
hasWellDefinedTargetMetaAnnotation()toisTypeQualifierAnnotation(). The method now returnstruefor annotations bearing@InvisibleQualifieror@SubtypeOf, in addition to the existing@Target(TYPE_USE)check.
In TestDiagnostic:
- Renamed field
messagetokey. - Added new nullable field
messagefor the full message without the key.
Removed classes and methods that have been deprecated for more than two years.