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 18056 - Using "Mark As Servlet" quickly after the code to implement javax.servlet.Servlet was added to the source displays error
Summary: Using "Mark As Servlet" quickly after the code to implement javax.servlet.Ser...
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-23 15:42 UTC by iformanek
Modified: 2003-07-02 08:30 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 iformanek 2001-11-23 15:42:18 UTC
Minor problem, steps to reproduce:
1. create new Java class (not a servlet)
2. add "implements javax.servlet.Servlet"
3. immediately click on Tools | Mark As Servlet

an error message saying that the class does not implement javax.servlet.Servlet 
is displayed.

Seems to be related to the parsed info, perhaps enfording reparse before 
checking would help.
Comment 1 _ rkubacki 2001-11-23 16:14:44 UTC
Yes, this is the reason.
Comment 2 _ rkubacki 2001-11-26 15:55:04 UTC
fixed in orion_ea. The fix will be merged into trunk later.
Comment 3 Alexei Mokeev 2002-03-19 13:00:10 UTC
Verified with FFJ 020318 build
Comment 4 Quality Engineering 2003-07-02 08:30:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.