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.

Bug 262575

Summary: Internal compiler complains about a non-existent error
Product: java Reporter: _ gtzabari <gtzabari>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: testcase

Description _ gtzabari 2016-06-25 17:52:47 UTC
Created attachment 160165 [details]
testcase

Product Version: NetBeans IDE Dev (Build 201606200002)
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 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

Repro steps:

1. Open attached project.
2. Notice that Netbeans annotates line 28 with a compiler error.
3. Compile the project (F11). Notice that the aforementioned error does not actually exist.

At first glance, it sounds as if the internal compiler needs to be updated.