commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-613) ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes
Date Sun, 12 Jan 2014 12:20:55 GMT

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

Benedikt Ritter updated LANG-613:
---------------------------------

    Fix Version/s: 3.3

> ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing
Classes
> -------------------------------------------------------------------------------------------------
>
>                 Key: LANG-613
>                 URL: https://issues.apache.org/jira/browse/LANG-613
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.0
>            Reporter: David M. Sledge
>            Assignee: Benedikt Ritter
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3, Review Patch
>
>         Attachments: LANG-613_Recursive_visibility_check_up_the_enclosing_tree.patch
>
>
> ConstructorUtils.getAccessibleConstructor() checks if the declaring class is public but
not whether it's a top-level class or an enclosed one.  Consequently, with enclosed declaring
classes, the method does not check if the enclosing class is public, or it's enclosing class,
or it's enclosing class, etc...



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message