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: | [Refactoring>Inline] causes exception | ||
---|---|---|---|
Product: | java | Reporter: | ssazonov |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jiriprox, MackSix, muellermi, tboudreau |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
exception
Log stacktrace stacktrace |
Description
ssazonov
2013-08-01 13:07:48 UTC
Created attachment 138123 [details]
Log
*** Bug 233934 has been marked as a duplicate of this bug. *** Created attachment 138951 [details]
stacktrace
Attempting to inline a simple method which returns a field of another object. Inlined method looks like:
private BitSet activatedCells() {
return snapshot.activatedCells;
}
Created attachment 139466 [details]
stacktrace
click on refactor inline
BTW: where is the extract method refactoring?
changeset : ec408e67acf5 author : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date : Fri Aug 30 11:18:27 CEST 2013 summary : #233782 - [Refactoring>Inline] causes exception Integrated into 'main-silver', will be available in build *201309010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ec408e67acf5 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #233782 - [Refactoring>Inline] causes exception Verified Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) |