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 - Possible javac changes break error fixes
Summary: Possible javac changes break error fixes
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2016-03-01 12:18 UTC by Svata Dedic
Modified: 2016-03-01 12:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 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 :)