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 258195

Summary: Possible javac changes break error fixes
Product: java Reporter: Svata Dedic <sdedic>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Svata Dedic 2016-03-01 12:18:48 UTC
There seem to be change in (nb)javac, which affects our error detection / fixes in java.hints. The change may be deliberate and desirable - in that case, I'll change the hints impl as appropriate. 

See testcases in java.hints module:

1/ ImportClassTest.testImportHint6
    public ImportTest6() {
        Collections.
    }
Collections is not imported. Formerly, the error message was "not a statement" ("compiler.err.not.stmt"). Now the reported error message is: "identifier expected" ("compiler.err.expected").


Thanks :)