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 86545 - Wrong error annotation for ClassIndex.java
Summary: Wrong error annotation for ClassIndex.java
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 87136
  Show dependency tree
 
Reported: 2006-10-05 09:20 UTC by pzajac
Modified: 2007-01-17 10:09 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 pzajac 2006-10-05 09:20:46 UTC
[061003]
I downloaded sources for "retouche" and opened
org.netbeans.api.java.source.ClassIndex. The file is compiled successfully but
editor shows these error annotatins:

line 87:
final String binaryName = ClassFileUtil.encodeClassName(element); 

message:
cannot find symbol encodeClassName

line 88:
final ResultConvertor<ElementHandle<TypeElement>> thConvertor =
ResultConvertor.elementHandleConvertor();

message:
incopatible types found
Found :ResultConvertor<ElementHandle<TypeElement>>
required ResultConvertor<ElementHandle<javax.lang.model.element.TypeElement>>
 
Editing classpath is probably correct because code completion shows correct values.
Comment 1 Jan Lahoda 2006-12-14 15:05:27 UTC
Does this still happen?
Comment 2 pzajac 2006-12-14 16:10:45 UTC
I cannot reproduce it.