Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64358 invoked from network); 20 Apr 2009 09:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Apr 2009 09:37:10 -0000 Received: (qmail 12593 invoked by uid 500); 20 Apr 2009 09:37:10 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 12535 invoked by uid 500); 20 Apr 2009 09:37:10 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 12526 invoked by uid 99); 20 Apr 2009 09:37:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 09:37:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Apr 2009 09:37:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70582234C004 for ; Mon, 20 Apr 2009 02:36:47 -0700 (PDT) Message-ID: <821743346.1240220207446.JavaMail.jira@brutus> Date: Mon, 20 Apr 2009 02:36:47 -0700 (PDT) From: "Kevin Zhou (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6159) [classlib][beans] java.beans.Statement.execute() throws java.lang.IllegalAccessException while RI doesn't MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [classlib][beans] java.beans.Statement.execute() throws java.lang.IllegalAccessException while RI doesn't --------------------------------------------------------------------------------------------------------- Key: HARMONY-6159 URL: https://issues.apache.org/jira/browse/HARMONY-6159 Project: Harmony Issue Type: Bug Components: Classlib Affects Versions: 5.0M9 Reporter: Kevin Zhou Fix For: 5.0M10 Given a test case [1], RI works smoothly while HY throws a java.lang.IllegalAccessException as follows: Stack Trace: java.lang.IllegalAccessException: A member of the "class kevin.StatementTest$MockTreeMapInnerClass" with "public" modifiers can not be accessed from the "class java.beans.Statement" at java.lang.reflect.ReflectExporter.checkMemberAccess(ReflectExporter.java:87) at java.lang.reflect.Method.invoke(Method.java:311) at java.beans.Statement.invokeMethod(Statement.java:219) at java.beans.Statement.execute(Statement.java:108) [1] Test Case: public void test_Statement_Execute() throws Exception { MockTreeMapInnerClass innerTreeMap = new MockTreeMapInnerClass(); Statement statement = new Statement(innerTreeMap, "get", new Object[] { "key" }); statement.execute(); } class MockTreeMapInnerClass extends TreeMap { @Override public Object get(Object key) { return "value"; } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.