harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2034) [classlib][launcher] Should throw exception if main method is not public
Date Tue, 17 Apr 2007 09:17:15 GMT

     [ 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.


Mime
View raw message