You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/04/17 11:17:15 UTC

[jira] Updated: (HARMONY-2034) [classlib][launcher] Should throw exception if main method is not public

     [ https://issues.apache.org/jira/browse/HARMONY-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko updated HARMONY-2034:
-------------------------------------

    Summary: [classlib][launcher] Should throw exception if main method is not public  (was: [launcher] Should throw exception if main method is not public)

> [classlib][launcher] Should throw exception if main method is not public
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-2034
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.