harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2034) [launcher] Should throw exception if main method is not public
Date Wed, 01 Nov 2006 10:41:16 GMT
[launcher] Should throw exception if main method is not public

                 Key: HARMONY-2034
                 URL: http://issues.apache.org/jira/browse/HARMONY-2034
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey Varlamov
            Priority: Trivial

The Java Language Specification requires that the method main must be declared public, static,
and void. (Paragraph 12.1.4 of Java Language Specification, 3rd edition)
The launcher does not check access modifiers of the method.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message