Skip to content

Refactor rename doesnt work with lambda subtype in different source  #4704

@enrdenti

Description

@enrdenti

In Eclipse 2025-12 (Java+DSL edition), using the Refactor -> Rename command (or SHIFT+ALT+R) in a Java source file leads to an inconsistent behaviour: instead of applying the required rename, the older name is maintained after hitting ENTER, as if something failed behind the scenes. This is quite a problem, since renaming something is one of the most common refactoring actions.

Sometimes, applying the same command from another file works: I noticed that trying to do the rename in the class where the method is defined leads the command to fail, but doing the same from another class, where the method is used, tends to work.

This bug does not exist in Eclipse 2025-09, so this is a regression issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions