This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [Java8] Invalid type inference in | ||
---|---|---|---|
Product: | java | Reporter: | Baldurien |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | normal | Keywords: | JDK_8 |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Sample maven project |
Created attachment 159348 [details] Sample maven project Hello, I have several differences in the type inference between Eclipse Mars, Java (1.8.0_92 + maven 3.3.9) and Netbeans (see below for the "About Netbeans"): The type inference fails in different part (see sample project): incompatible types: inferred type does not conform to upper bound(s) inferred: List<? extends Object> upper bound(s): List<String>,Object As a result, I can not profile my application (my purpose in using Netbeans) because of too many inference-type compile errors. Product Version: NetBeans IDE 8.1 (Build 201511021428) Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1 Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)