Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 41370 invoked from network); 23 Sep 2006 23:07:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2006 23:07:07 -0000 Received: (qmail 87531 invoked by uid 500); 23 Sep 2006 23:07:06 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 87492 invoked by uid 500); 23 Sep 2006 23:07:06 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 87481 invoked by uid 99); 23 Sep 2006 23:07:06 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Sep 2006 16:07:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:42909] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 2B/50-05456-A1EB5154 for ; Sat, 23 Sep 2006 16:07:06 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 69FCB7142D5 for ; Sat, 23 Sep 2006 23:03:23 +0000 (GMT) Message-ID: <2974578.1159052603431.JavaMail.jira@brutus> Date: Sat, 23 Sep 2006 16:03:23 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1561) [DRLVM][interpreter] Wrong access checks in Opcode_PUTFIELD In-Reply-To: <27255245.1159042042375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1561?page=comments#action_12437164 ] Geir Magnusson Jr commented on HARMONY-1561: -------------------------------------------- Easy to reproduce for debug build : Compile the code and construct a jar : $ javac *.java $ jar cfm foo.jar MANIFEST.MF *.class and then simply run : $ cd deploy/jre/bin $ ./java -jar foo.jar You should see : Foo! java.lang.IllegalAccessError: from Foo to Bar at java.lang.reflect.VMReflection.invokeMethod(Native Method) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.harmony.vm.JarRunner.main(Unknown Source) > [DRLVM][interpreter] Wrong access checks in Opcode_PUTFIELD > ----------------------------------------------------------- > > Key: HARMONY-1561 > URL: http://issues.apache.org/jira/browse/HARMONY-1561 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: All > Reporter: Ivan Volosyuk > Attachments: Bar.java, Foo.java, MANIFEST.MF > > > Interpreter throws IllegalAccessError on putfield opcode for all methods except . > It should not throw the error if the method for this object is in the calling stack. > Reproducible on activemq-4.0.2. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira