Skip to content

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

@RoiSoleil

Description

@RoiSoleil

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

Image

The reproduction code :

package test;

public class ConditionnalBreakpointWithGeneric<U extends Number> {

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

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

This is due to commit e782ff0 using QN_OBJECT

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionRegression from previous release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions