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

Laszlo Kishalmi commented on NETBEANS-903:
------------------------------------------

In the release (probably RC2) the Assertions will be disables, so such issues 
won't pop into your eye. And as you wrote new JDK-s will resolve this issue. 
Please try it with nb-javac installed as well.

> AssersionError is thrown when saving source with `var s=List.of("a",1)` on 
> JDK10
> --------------------------------------------------------------------------------
>
>                 Key: NETBEANS-903
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-903
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Editor
>    Affects Versions: 9.0
>         Environment: JDK10/JDK10.0.1
> release-302-on-20180517
>            Reporter: Naoki Kishida
>            Priority: Major
>
> AssersionError will be thrown when saving a source with `var 
> s=List.of("a",1)` on JDK10 and JDK10.0.1 even `Compile on Save` is off.
> on JDK11ea is OK.
> It is related with the javac bug.
> https://bugs.openjdk.java.net/browse/JDK-8199910
> Acording to the bug, JDK10.0.2 will be OK.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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