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.
Summary: | Renaming method thru refactoring removes arguments, when arguments are annotated | ||
---|---|---|---|
Product: | java | Reporter: | tnleeuw <tnleeuw> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | juhrik, mmirilovic |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tnleeuw
2011-03-15 10:13:16 UTC
reproducible with any annotation with parameters: void a(@SuppressWarnings("a") int b, int c) { } Looks like generator issue Thanks for the report, this should fix the problem in trunk: http://hg.netbeans.org/jet-main/rev/2c3be4b84202 ("when searching for closing ')' of method's parameters list, start at the end position of the last parameter.") Jara, if you will agree, I would like to integrate to release70 on Monday. Thanks. The patch seems fine to me. Verified in the latest jet-main build and heven't found any problem. I agree with integration in 7.0. Integrated into 'main-golden', will be available in build *201103190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2c3be4b84202 User: Jan Lahoda <jlahoda@netbeans.org> Log: #196719: when searching for closing ')' of method's parameters list, start at the end position of the last parameter. The defect is fixed for me -- in build 201103190400, I can no longer reproduce this problem. Thanks. Transplated to release70: http://hg.netbeans.org/releases/rev/8474830046ac Verified in the following 7.0 build: Product Version: NetBeans IDE 7.0 RC1 (Build 201103240000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) |