You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Vedran (Jira)" <ji...@apache.org> on 2020/03/18 09:05:00 UTC

[jira] [Created] (NETBEANS-4034) --enable-preview + VM Options problem on MacOS

Vedran created NETBEANS-4034:
--------------------------------

             Summary: --enable-preview + VM Options problem on MacOS
                 Key: NETBEANS-4034
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4034
             Project: NetBeans
          Issue Type: Bug
          Components: java - Compiler, java - Editor
    Affects Versions: 11.3
         Environment: 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)

            Reporter: Vedran


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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