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 89714 - "Run File" should work for any class with a "main"
Summary: "Run File" should work for any class with a "main"
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 03:50 UTC by rrochat
Modified: 2014-07-08 14:36 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rrochat 2006-11-21 03:50:27 UTC
I have inherited a lot of classes with a "main" method that's used for GUI
sanity testing and have to go back to a command-line interface to exercise them
because they're now in modules and "Run File" isn't enabled.

Why can't "Run File" be supported for ANY class with a main() method?  I realize
there are a lot of special-cases, but why can't there be a simple default for
the simple cases?
Comment 1 Peter Pis 2007-08-31 11:02:06 UTC
Reassigning to "core".