Preview features in Netbeans 11.2(and above) aren't being activated despite being enabled in the maven build file:

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
                <version>3.6.2</version>
                <configuration>
                    <release>15</release> <!-- <release>13</release> -->
<compilerArg>--enable-preview</compilerArg>
                    <compilerArg>--add-modules jdk.incubator.foreign</compilerArg>                     <compilerArg>--open-modules jdk.incubator.foreign.unsafe</compilerArg>
                </configuration>

Or at least there is no indication that it is and I can't make a record. Is there a way to tell if preview features are enabled?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to