Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] (METHOD|CONSTRUCTOR)_CALLs with arguments are not matched #781

Open
1 task done
jmle opened this issue Feb 25, 2025 · 1 comment
Open
1 task done

[BUG] (METHOD|CONSTRUCTOR)_CALLs with arguments are not matched #781

jmle opened this issue Feb 25, 2025 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@jmle
Copy link
Contributor

jmle commented Feb 25, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Konveyor version

0.6.0

Priority

Critical

Current Behavior

Currently, this condition

    java.referenced:
      location: CONSTRUCTOR_CALL
      pattern: javax.servlet.UnavailableException(javax.servlet.Servlet,java.lang.String)

won't match against

        String str = "something";
        Servlet s = exception1.getServlet();
        UnavailableException exception2 = new UnavailableException(s, str);

while according to the JDTLS tools docs it should be a match.

Non FQN searches do not match either:

    java.referenced:
      location: CONSTRUCTOR_CALL
      pattern: UnavailableException(Servlet,String)

Expected Behavior

No response

How Reproducible

Always (Default)

Steps To Reproduce

No response

Environment

- **Analyzer Image SHA** 
- **JDTLS  base image SHA**
- **Provider Settings JSON**

Anything else?

No response

@jmle jmle added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Feb 25, 2025
@jmle jmle added this to Planning Feb 25, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Feb 25, 2025
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. label Feb 25, 2025
@jmle jmle changed the title [BUG] Fully qualified (METHOD|CONSTRUCTOR)_CALLs with arguments are not matched [BUG] (METHOD|CONSTRUCTOR)_CALLs with arguments are not matched Feb 25, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant