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.
[recent sources] Consider two cases: -compilation unit with two imports: import org.jdesktop.layout.GroupLayout; import org.jdesktop.layout.Baseline; and a transformation that swaps these imports - the GroupLayout import is missing in the result -compilation unit with one import: import org.jdesktop.layout.Baseline; and a transformation that re-writes it to: "import static org.jdesktop.layout.GroupLayout.CENTER;" - the "import static " is missing in the result.
http://hg.netbeans.org/jet-main/rev/6bd8e190fa62
Integrated into 'main-golden', will be available in build *200906081401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6bd8e190fa62 User: Jan Lahoda <jlahoda@netbeans.org> Log: #166524: fixing rewriting of non-static import into a static one and a problem with reordering the imports.
v.
The fix has been ported into the release67_fixes repository. http://hg.netbeans.org/release67_fixes/rev/6a5e5d4098dc
v in 6.7.1