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 244183 - Subclass whose parent provides a static void main(..) method does not show up as runnable in the IDE project tree.
Summary: Subclass whose parent provides a static void main(..) method does not show up...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 00:12 UTC by timgstewart
Modified: 2016-07-07 07:18 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 timgstewart 2014-04-30 00:12:30 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

I have a simple base class which provides a static void main method as a launcher for runtime verification tests.  Each class extending that base class should be runnable since the public static void main method is inherited.  However, child classes do not show up as runnable and the Run File - Shift F6 method is disabled.
Comment 1 Martin Balin 2016-07-07 07:18:53 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss