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 46984 - Exception occurs in ResourceProcessor when using wildcards in nested type parameters
Summary: Exception occurs in ResourceProcessor when using wildcards in nested type par...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
: 46989 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-07 08:47 UTC by afreije
Modified: 2005-07-11 16:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example source file with netsted wildcard (141 bytes, text/plain)
2004-08-07 08:48 UTC, afreije
Details
Stack trace (2.70 KB, text/plain)
2004-08-07 08:51 UTC, afreije
Details

Note You need to log in before you can comment on or make changes to this bug.
Description afreije 2004-08-07 08:47:07 UTC
When using wildcards in nested type parameters,
the  Resource processor reports an exception.

To reproduce: 
1. Create a java source file with nested wildcards
(see attachment).
2. Edit the file.
3. Wait a few seconds for annotation to start.

JDK version: JDK 1.5.0_beta3_b59
Netbeans Version: 4.0 Qbuild 200407271100
Comment 1 afreije 2004-08-07 08:48:45 UTC
Created attachment 16682 [details]
Example source file with netsted wildcard
Comment 2 afreije 2004-08-07 08:51:16 UTC
Created attachment 16683 [details]
Stack trace
Comment 3 afreije 2004-08-07 17:04:20 UTC
Workaround: Switching code folding off.
Comment 4 Jan Becicka 2004-08-09 09:02:24 UTC
*** Issue 46989 has been marked as a duplicate of this issue. ***
Comment 5 Martin Matula 2004-08-09 09:57:14 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/parser/WildCardRef.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/WildCardRef.java,v
 <--  WildCardRef.java
new revision: 1.5; previous revision: 1.4
done
Comment 6 Jiri Prox 2005-07-11 16:22:14 UTC
Verified in 4.2 (200507110943)