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.
Create a new Java Maven project (artifact id mavenproject5) using the wizard, (add a main class,) then use the module-info wizard to add one, this creates the following file (header comment excluded): module Mavenproject5 { requires mavenproject; } The requires shouldn't be there.
Build info: Product Version: NetBeans IDE Dev (Build 20170412-306a73dbfd00) Java: 9-internal; OpenJDK 64-Bit Server VM 9-internal+0-adhoc.Ludovic.jdk9 Runtime: OpenJDK Runtime Environment 9-internal+0-adhoc.Ludovic.jdk9 System: Windows 10 version 10.0 running on amd64; Cp1252; fr_FR (nb)
could not reproduce with build 20170424 feel free to reopen in case this still occurs with an actual build thanks
seems it was fixed somehow, a new build just now no longer shows the behaviour