Skip to content

ThreadSafe is not a valid checker name #4833

Open
@commonquail

Description

@commonquail

In v2.36.0, https://errorprone.info/bugpattern/ThreadSafe seems to have an implementation in ThreadSafeChecker.java by the advertised name, but it cannot be activated by either name:

$ ./mvnw clean test-compile -DepFlags='-XepDisableAllChecks -Xep:ThreadSafe:WARN'
[INFO] Scanning for projects...
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project example: Fatal error compiling: ThreadSafe is not a valid checker name -> [Help 1]

I think this is because it is not named in BuiltInCheckerSuppliers.java (and never has been).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions