Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DAA910718 for ; Mon, 20 Jan 2014 17:22:41 +0000 (UTC) Received: (qmail 38490 invoked by uid 500); 20 Jan 2014 17:22:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 38300 invoked by uid 500); 20 Jan 2014 17:22:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 38183 invoked by uid 99); 20 Jan 2014 17:22:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 17:22:21 +0000 Date: Mon, 20 Jan 2014 17:22:21 +0000 (UTC) From: "Matt Benson (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (LANG-613) ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Benson resolved LANG-613. ------------------------------ Resolution: Fixed Fix Version/s: (was: Review Patch) Assignee: Matt Benson (was: Benedikt Ritter) No response from OP; recoded without looking at the patch. Committed revision 1559779. > 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: Matt Benson > Priority: Minor > Labels: patch > Fix For: 3.3 > > 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)