[
https://issues.apache.org/jira/browse/NETBEANS-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938350#comment-16938350
]
Geertjan Wielenga commented on NETBEANS-3164:
---------------------------------------------
If 11.2 is running on JDK 8, I would expect lambdas to work if I have
Source/Binary set to JDK 8 and text blocks to work if I have Source/Binary set
to JDK 13.
But it seems this is not correct — I must run 11.2 on JDK 13 and also have
Source/Binary set to JDK 13. I’m just trying to understand why that is the case
and if we can do something about it.
> 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
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
> Reporter: Benjamin Graf
> Assignee: ARUNAVA SINHA
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists