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] Commented: (HARMONY-2034) [classlib][launcher] Should throw exception if main method is not public
Date Tue, 01 Apr 2008 10:24:51 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584092#action_12584092
] 

Alexey Varlamov commented on HARMONY-2034:
------------------------------------------

VMI extension? :)

Such an awkward trifle indeed. I suggest we fix this after it becomes real issue - e.g. blocks
certification or such...

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