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.
Created attachment 143857 [details] Shows the expected behaviour Testcase: http://services.netbeans.org/synergy/client/app/index.html#/case/2295/suite/1289/v/1 See screenshot. ACTUAL: I cannot move the expression into a inner anonymous member. EXPECTED: I can move the expression into a inner anonymous member. Product Version: NetBeans IDE 8.0 Beta (Build 201401091443) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Actually, this is as designed behavior of the Move Code Element Up/Down actions (Alt-Shift-PgUp/PgUp), that can be used either to move members of a class up/down within the given class or to move statements up/down within a method body. These two cannot be mixed together.
OK, I'll update the test specification