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:23:00 UTC
[jira] [Updated] (NETBEANS-786) Errors don't disappear in a maven
project
[ https://issues.apache.org/jira/browse/NETBEANS-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junichi Yamamoto updated NETBEANS-786:
--------------------------------------
Description:
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"); (Also import java.util.List; of course)
# An error appears
The error disappears after NetBeans is restarted.
was:
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.
> 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
> Priority: Major
>
> 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"); (Also import java.util.List; of course)
> # 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