-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
None
Downstream bug of https://github.com/konveyor/analyzer-lsp/issues/769
Description of problem:
This condition in a rule:
when: java.referenced: location: METHOD_CALL pattern: org.jboss.logging.Logger.getLogger(*)
Should trigger an incident in the following code (extracted from tackle-testapp)
private static Logger logger = Logger.getLogger( CustomerService.class.getName() );
But it doesn't trigger any incidents.
How reproducible: Always
Steps to Reproduce:
1. Create a custom rule with the condition specified above
2. Perform an analysis in the tackle-testeapp app using mta-cli
Actual results:
The rule doesn't trigger any issues
Expected results:
The rule should trigger an incident in the following code (extracted from tackle-testapp)
private static Logger logger = Logger.getLogger( CustomerService.class.getName() );