You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Junichi Yamamoto (JIRA)" <ji...@apache.org> on 2018/05/12 23:17:00 UTC

[jira] [Created] (NETBEANS-786) Errors don't disappear in a maven project

Junichi Yamamoto created NETBEANS-786:
-----------------------------------------

             Summary: Errors don't disappear in a maven project
                 Key: NETBEANS-786
                 URL: https://issues.apache.org/jira/browse/NETBEANS-786
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
    Affects Versions: 9.0
         Environment: Product Version: Apache NetBeans IDE Dev (Build 20180513-a43f54baae94)
Java: 1.8.0_172; Java HotSpot(TM) 64-Bit Server VM 25.172-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_172-b11
System: Linux version 4.15.0-20-generic running on amd64; UTF-8; 
            Reporter: Junichi Yamamoto


Steps to reproduce:
# Add JDK 8(default) and JDK 10 to the Java Platform Manager
# Create a maven project
# Add a new Java main class to it
# Set Build - Compile : "Java Platform" to JDK 10, Sources : "Source/Binary Format" to 10 in project properties
# Add the following code to the main class: var test = List.of("test");
# An error appears

The error disappears after NetBeans is restarted.



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

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