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 - Incorrect error badging - code is marked as error but compilable
Summary: Incorrect error badging - code is marked as error but compilable
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on: 128695
Blocks:
  Show dependency tree
 
Reported: 2008-02-25 20:38 UTC by Tomas Danek
Modified: 2008-07-30 15:35 UTC (History)
0 users

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 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.