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 220598 - Wrong implementation of anonymous class
Summary: Wrong implementation of anonymous class
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-22 15:44 UTC by aldobrucale
Modified: 2012-10-30 17:22 UTC (History)
0 users

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 aldobrucale 2012-10-22 15:44:54 UTC
[ BUILD # : 201210210002 ]
[ JDK VERSION : 1.7.9 ]

In a java method I have written 

final Executor sut = new Executor

hitting ctrl+space with the cursor at the end of the line, I am getting:

final Executor sut = new () {}Executor

instead of 

final Executor sut = new Executor()
Comment 1 Dusan Balek 2012-10-22 16:32:00 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/d3836bcf9135
Comment 2 Quality Engineering 2012-10-23 12:09:58 UTC
Integrated into 'main-golden', will be available in build *201210231040* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d3836bcf9135
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #220598: Wrong implementation of anonymous class - fixed.