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

Summary: Name of parameter cannot be keyword.
Product: java Reporter: Jan Becicka <jbecicka>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: normal CC: prgsust
Priority: P4    
Version: -FFJ-   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.