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 50949

Summary: CC doesn't work if wildcard is used to import web application package
Product: javaee Reporter: cezariusz <cezariusz>
Component: JSPAssignee: Petr Pisl <ppisl>
Status: CLOSED DUPLICATE    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description cezariusz 2004-10-28 13:22:42 UTC
Build 20041027800, JDK 5.0

Steps to reproduce (note the beginning is 
similar to issue 50948, but it's not a dupe):
1. Create new web application, say JSPCC;
2. Create new class CCTest in package demo.issue;
3. Open index.jsp
4. Add line:
<%@page import="demo.issue.*"%>
Note the asterisk is used here.
5. Write:
<%
    CCTest test = new CCTest();
    test.|
6. Press Ctrl+Space

Expected result: CC window with CCTest members.
Actual result: no CC at all.

Note changing
<%@page import="demo.issue.*"%>
to
<%@page import="demo.issue.CCTest"%>
makes CC to work (after deleting and retyping 
the doc).
Comment 1 cezariusz 2004-10-28 13:24:05 UTC
I believe it used to work in erlier builds.
Comment 2 Petr Pisl 2004-10-28 14:49:47 UTC
The same reason as issue #50948 has. 

*** This issue has been marked as a duplicate of 50948 ***
Comment 3 cezariusz 2004-11-15 11:34:11 UTC
Verifying duplicate.
Comment 4 cezariusz 2004-11-15 11:35:33 UTC
Verified in 200411072021