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 - CC doesn't work if wildcard is used to import web application package
Summary: CC doesn't work if wildcard is used to import web application package
Status: CLOSED DUPLICATE of bug 50948
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-10-28 13:22 UTC by cezariusz
Modified: 2006-03-24 09:42 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 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