Skip to content

Constructor with defaulted parameter is interfering with breakpoint location #790

@eric-milles

Description

@eric-milles

Consider the following:

class One {
  void meth() {
    println 'blah blah'
  }
}

class Two {
  final Map map
  Two(Map map = Collections.EMPTY_MAP) {
    this.map = map
  }
}

Attempting to set a breakpoint on line containing println results in method entry breakpoint on line containing Two(Map....

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions