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 225532 - 7.3 RC1 generate wrong method signature on Hint execution
Summary: 7.3 RC1 generate wrong method signature on Hint execution
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 13:31 UTC by ecerichter
Modified: 2013-03-20 09:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenhost of the three steps (31.74 KB, image/png)
2013-01-30 13:31 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-01-30 13:31:55 UTC
Created attachment 130834 [details]
Screenhost of the three steps

When creating a missing method from the hint helper, the generated method has an invalid signature.

See attached screenshot shown the 3 steps to reproduce the problem.

Regards,

Edson
Comment 1 Jiri Prox 2013-01-30 13:35:26 UTC
reproducible
Comment 2 Quality Engineering 2013-02-02 02:35:46 UTC
Integrated into 'main-golden', will be available in build *201302020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b0463d53f2d6
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #225532: 7.3 RC1 generate wrong method signature on Hint execution
Comment 3 Martin Kanak 2013-03-07 13:40:10 UTC
Verified, now the generated method seems like:

private String getString(PreparedStatement st, String smtp_host, String string) {}


Product Version: NetBeans IDE Dev (Build 201303062300)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.5.0-25-generic running on i386; UTF-8; en_US (nb)
Comment 4 Jan Lahoda 2013-03-12 14:56:15 UTC
release73:
http://hg.netbeans.org/releases/rev/9ac19babe108
Comment 5 Quality Engineering 2013-03-14 21:12:49 UTC
Integrated into 'releases', will be available in build *201303141828* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/9ac19babe108
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #225532: 7.3 RC1 generate wrong method signature on Hint execution