eclipse-jdt / eclipse-jdt/eclipse.jdt.debug

Unable to set a conditional breakpoint in a method with a parameter using generic extends X

Open
#693 2 comments 0 reactions 0 assignees View on GitHub
bug regression
Dominant language
Java
Stars
23
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
13

Description

Unable to set a conditional breakpoint in a method with a parameter using generic extends X :

![Image](https://github.com/user-attachments/assets/6bbbb7f7-18ff-4656-981a-19f1e89c44bf)

The reproduction code :

```
package test;

public class ConditionnalBreakpointWithGeneric {

void test(ConditionnalBreakpointWithGeneric conditionnalBreakpointWithGeneric) {
System.out.println("T");
}

public static void main(String[] args) {
ConditionnalBreakpointWithGeneric conditionnalBreakpointWithGeneric = new ConditionnalBreakpointWithGeneric();
conditionnalBreakpointWithGeneric.test(conditionnalBreakpointWithGeneric);
System.out.println("");
}
}
```

This is due to commit e782ff0b726016b5a8132e0479562d7f2007f151 using QN_OBJECT

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.