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 8741 - Name of parameter cannot be keyword.
Summary: Name of parameter cannot be keyword.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-04 10:14 UTC by Jan Becicka
Modified: 2007-09-26 09:14 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 Jan Becicka 2000-12-04 10:14:39 UTC
[release 3.1-20] [1160]
Steps to reproduce:
Overriding method foo(java.lang.Class) will create method (java.lang.Class
class)
But "class" is not valid identifier.
Comment 1 Svata Dedic 2000-12-05 09:36:59 UTC
[dev-82, release31-22] if the synthesized parameter name clashes with a keyword,
the name is suffixed with (localizable) string to distinguish it. Class type
parameters are handled specially (with names "clazz", "clazz2" etc).
Comment 2 Jan Becicka 2000-12-11 15:04:59 UTC
BUG also appears in version : FFJ20
Comment 3 Quality Engineering 2003-07-01 13:15:32 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.