Skip to content

[BUG] False positives during partial analyses after fixing an issue #906

@abrugaro

Description

@abrugaro

The Spring JMX is not supported by Quarkus with GraalVM on a Native Image rule is defined as follows:

  ruleID: springboot-jmx-to-quarkus-00001
  when:
    java.referenced:
      location: ANNOTATION
      pattern: org.springframework.jmx.*

When analyzing the coolstore repo using the Quarkus target, there are no incidents reported under this issue.

However, every time I fix an incident in a file that contains annotations, a new one arises under this issue.

None of the reported incidents match the rule, and in some cases, they are even flagged on lines that don't contain annotations.

I observe this same behaviour no matter the java extension's version.
This was tested with the kai extension release-0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions