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 39185 - Wizard Tag Library - reserved name
Summary: Wizard Tag Library - reserved name
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 17:25 UTC by zikmund
Modified: 2010-01-12 02:06 UTC (History)
1 user (show)

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 zikmund 2004-01-23 17:25:42 UTC
build 200201221900

How to reproduce:
1) Invoke Tag Library wizard
2) Type reserved name (java keyword) like "null"
or "for", etc.
3) Finish
4) ERROR:
Tag Library created, should be rejected as
reserved class named used! ... error appears later:
5) Add Tag
6) Generate Tag Handlers
7) ERROR:
error dialog appears (seems to be catched exception)
"Tag Generation Exception" - "Exception caught
generating tag handler for tag ..."
then dialog:
"No files were generated"

Suggestion: Use same (similar) name checking as in
servlet name.
Comment 1 Petr Jiricka 2006-08-16 14:51:12 UTC
Fixed - there is no Tag Library wizard, and the Tag Handler wizard behaves as
expected.