[ 
https://issues.apache.org/jira/browse/NETBEANS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937962#comment-16937962
 ] 

Geertjan Wielenga commented on NETBEANS-3164:
---------------------------------------------

Just tried that. For me, works fine, using Ant.

Make sure your Source/Binary format is set to JDK 13 and Java Platform is also 
JDK 13, both in Project Properties dialig box.

In project.properties, you should see this when you've enabled preview support:

javac.compilerargs=\ --enable-preview

run.jvmargs=\ --enable-preview


> JDK 13 preview feature not working correctly in 11.2beta1
> ---------------------------------------------------------
>
>                 Key: NETBEANS-3164
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3164
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.2
>            Reporter: Benjamin Graf
>            Priority: Major
>         Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-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