Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Works for Me
-
11.3
-
None
-
None
-
Product Version: Apache NetBeans IDE 11.3
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_GB (nb)
Description
Whatever i do i can't enable preview features in NetBeans. I also see hint 'Text block may not be supported'. I uninstalled nb-javac and i am running NetBeans on JDK 14. I also cleared cache. I can see that --enable-preview flag is set in pom.xml and in VM Options.
In terminal, java --enable-preview --source 14 A.java executes as expected.
What i also noticed in previous versions of NetBeans is that VM Options configured under Run are not passed to Maven.
What am i missing?