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 128353

Summary: Incorrect error badging - code is marked as error but compilable
Product: java Reporter: Tomas Danek <musilt2>
Component: SourceAssignee: Tomas Zezula <tzezula>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 128695    
Bug Blocks:    

Description Tomas Danek 2008-02-25 20:38:24 UTC
Product Version: NetBeans IDE Dev (Build 200802251204)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Userdir: /tmp/ud
----------------
- create new java app (with sharable libraries, default behavior)
- go to customizer, add jar (i used latest jreechart)
- edit jar dependency, add javadoc (folder) and add sources (also folder) - let them use relative path
- save edited dependency
- invoke CC (in Main.java), try to use classes from JAR, but CC does not work. Typing e.g.         

Class c = org.jfree.chart.ChartFactory.class;

manually is compilable, but marked in editor as error.
Comment 1 Tomas Zezula 2008-02-27 10:15:44 UTC
Seems much important problem which requires an API change in the SFBQ.
The problem that there is no CPP and SLQ for the root returned by the SFBQ.

Comment 2 Tomas Zezula 2008-03-11 11:30:14 UTC
Fixed in: bde895cd674e
Comment 3 Tomas Danek 2008-07-30 15:35:01 UTC
verified 20080729.