You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David M. Sledge (JIRA)" <ji...@apache.org> on 2010/03/27 23:51:27 UTC

[jira] Created: (LANG-613) ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes

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
            Priority: Minor


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LANG-613) ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes

Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LANG-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell updated LANG-613:
-------------------------------

    Fix Version/s: 3.1

> 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
>            Priority: Minor
>             Fix For: 3.1
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.