eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Eclipse rename package issue

Open
#4,060 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

In our codebase package was accidentally defined as abcXyz. But when tried to rename it got unexpected results

Steps to reproduce:
- Select package with given name
- Press rename package
- In open dialog check: update references + update sub-packages
- Change name to expected value
- Press ok

Expectation:
- package name is changed to new one (in package/project explorer)
- classes in package have correct package (new value)
- references to classes are updated accordingly (e.g. reference to class with new package name)

Actual:
- package name is changed to new one (in package/project explorer) - YES
- classes in package have correct package (new value) - NO
- references to classes are updated accordingly (e.g. reference to class with new package name) - YES

Java: jdk 24
Version: 2025-03 (4.35.0)
Build id: 20250306-0812

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.