This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 20080109023911) Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Import statements are not updated correctly if package rename refactoring is called after undo of another rename. Steps to reproduce: 1) open bigger projects (tested with projectized jFreeChart) 2) rename package: org.jfree.chart.annotations -> org.jfree.chart.annotations.renamed 3) undo 4) rename org.jfree.chart.axis -> org.jfree.chart.axis.renamed -> some classes from package org.jfree.chart.annotations contains import of class from package org.jfree.chart.axis which is invalid if this issue doesn't occur after step 4), undo the refactoring and continue in renaming packages
One more important question. Is this regression since 6.0?
No, I can reproduce it in 6.0 as well
Reassigning to java/source for evaluation
Created attachment 55506 [details] Coupling errors and NPEs from javac
Created attachment 55507 [details] D:\sources\trunk\testuserdir\var\log\XYDrawableAnnotation.dump
Created attachment 55508 [details] D:\sources\trunk\testuserdir\var\log\AbstractXYAnnotation.sig.dump
Created attachment 55509 [details] D:\Temp\jFreeChart\source\org\jfree\chart\annotations\AbstractXYAnnotation.java
Hopefully fixed: http://hg.netbeans.org/main/rev/21561d0bd778
seems to be ok, verified