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 256977 - [regression] NB.Trunk reports a lot of false positives errors about correct JDK7/JKD8 code
Summary: [regression] NB.Trunk reports a lot of false positives errors about correct J...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2015-12-04 11:33 UTC by Vladimir Voskresensky
Modified: 2017-04-28 10:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-12-04 11:33:56 UTC
recently (after switching to JDK9-based internal compiler) the NB.Trunk became unusable as the IDE for JDK7/JKD8 code.
A lot of classes became marked with error badges causing failed navigation and refactoring support.
As examples:
cnd.highlight
cnd.makeproject
cnd.modelimpl
cnd.refactoring
cnd.remote 

became broken.
There are different kinds of issues and some of them are correct from JDK9 compiler point of view, but it worked fine with previous javacs and modules builds fine with official JDK7/JDK8 compiler.

Even if I can fix our code, the 3rd parties sources opened in IDE can not be fixed.
Comment 1 Quality Engineering 2016-02-09 02:42:42 UTC
Integrated into 'main-silver', will be available in build *201602090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/83b4a8075377
User: Alexander Simon <alexvsimon@netbeans.org>
Log: remove "phantom" errors highlighting  (work around bug #256977)
Comment 2 Dusan Balek 2017-04-28 10:52:14 UTC
No longer reproducible after switching to source level 8 (JDK8 is now required to build NB).