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.
Fix All Imports places imports above copyright notice for default package classes. ======= INPUT ======= /* * Copyright goes here */ public class DefaultPackageImportAllBug { public static final void main(String[] args) { new Date(); } } ======= OUTPUT ======= import java.util.Date; /* * Copyright goes here */ public class DefaultPackageImportAllBug { public static final void main(String[] args) { new Date(); } } ======= EXPECTED ======= /* * Copyright goes here */ import java.util.Date; public class DefaultPackageImportAllBug { public static final void main(String[] args) { new Date(); } }
It's similar issue as issue 119176, I guess it can be fixed together *** This issue has been marked as a duplicate of 119176 ***