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.
NB 9 daily build 20170405, running on JDK9 b160. Having following module-info.java "module modularjigsaw { requires java.base; requires jdk.jdeps; requires java.logging; requires java.se; uses java.lang.Readable; }" No empty line at top. Then perform Format action on source. An empty line is added at top of file.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c86e07ebf710
Integrated into 'main-silver', will be available in build *201708270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c86e07ebf710 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #270304 - Performing Format action (Alt+Shift+F) on module-info.java adds empty line - fixed.