Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-613

ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.3
    • lang.reflect.*

    Description

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

      Attachments

        Activity

          People

            mbenson Matthew Jason Benson
            sledged David M. Sledge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: