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.
1. Open up Java source file with a main() method. 2. Rename the class. 3. Use Hint to rename the Java file to match new class name. Notice that the "Contains main glass" badge (green arrow) disappears on the file's icon in the Project window. Expected: Green arrow still shows on file's icon. Workaround: Restart NetBeans. Product Version: NetBeans IDE Dev (Build 201607140002) Java: 1.8.0_92; Java HotSpot(TM) 64-Bit Server VM 25.92-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_92-b14 System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)