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.
Product Version: NetBeans IDE Dev (Build 201508190002) Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25 System: Windows 10 version 10.0 running on amd64; Cp1250; pl_PL (nb) Test Case --> http://services.netbeans.org/synergy/client/app/#/case/5140/suite/2026/v/1 --Use Case-- 1. Open extract.ClassB.java class 2. Put caret into public void m|1(){...} 3. From main menu select Refactor > Extract Interface... --Actual Result-- Method m1() is not checked by default. On the other hand the Extract Superclass dialog recognizes the caret position and the current method is checked by default. See both pictures.
Created attachment 155458 [details] Extract Interface dialog does not recognize caret position
Created attachment 155459 [details] Extract Superclass dialog recognizes caret position
reproducible