Community
Participate
Working Groups
Build: I20050125 1) Create a simple Java project with two packages, p1 and p2 2) Create the type p1.A and leave the editor open 3) In the Package Explorer, copy p1.A to the package p2. -> The package declaration of p1.A in the open editor gets changed to "p2". This results in a compile error. The package declaration of the *source* of the copy operation should not be changed.
Tobias, can you please have a look and check if this is caused by the copy refactoring or if this is caused by JDT/Core.
We only call ICompilationUnit#copy(IJavaElement, IJavaElement, String, boolean, IProgressMonitor) throws JavaModelException Moving to JDT Core for comments
Fixed by fixing bug 83599. *** This bug has been marked as a duplicate of 83599 ***