Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 92470 invoked from network); 2 Jul 2007 08:38:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 08:38:26 -0000 Received: (qmail 57181 invoked by uid 500); 2 Jul 2007 08:38:28 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 57169 invoked by uid 500); 2 Jul 2007 08:38:28 -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 57160 invoked by uid 99); 2 Jul 2007 08:38:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 01:38:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 01:38:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BB52A489611 for ; Mon, 2 Jul 2007 01:38:04 -0700 (PDT) Message-ID: <9634728.1183365484764.JavaMail.jira@brutus> Date: Mon, 2 Jul 2007 01:38:04 -0700 (PDT) From: "Vladimir Ivanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4308) [buildtest][vts] Test vm/jvms/classFile/structure/accessFlags/accessFlags08/accessFlags08.xml corresponds 1.4 specifications In-Reply-To: <20494138.1183361704975.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ivanov reassigned HARMONY-4308: ---------------------------------------- Assignee: Vladimir Ivanov > [buildtest][vts] Test vm/jvms/classFile/structure/accessFlags/accessFlags08/accessFlags08.xml corresponds 1.4 specifications > ----------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-4308 > URL: https://issues.apache.org/jira/browse/HARMONY-4308 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Reporter: Vera Petrashkova > Assignee: Vladimir Ivanov > > According to the test description > vm/jvms/classFile/structure/accessFlags/accessFlags08/accessFlags08.xml > "Checks that VM loads class with ACC_PUBLIC, ACC_FINAL flags set and all unused > (reserved) bits set to 1. Positive test." > this test uses access flags xF9DF and expects that VM does not throw ClassFormatError because > 1.4 spec defines the following flags > ACC_PUBLIC = 0x0001 > ACC_FINAL = 0x0010 > ACC_SUPER = 0x0020 > ACC_INTERFACE = 0x0200 > ACC_ABSTRACT = 0x0400 > and says that If the ACC_INTERFACE flag of this class file is not set, it may have any of the other flags. > And all bits of the access_flags item not assigned in spec are reserved for future use. > They should be set to zero in generated class files and should be ignored by JVM implementations. > But 1.5 spec defines new access flags ACC_ANNOTATION = 0x2000 and ACC_ENUM = 0x4000 and it says > that if the ACC_ANNOTATION flag is set, the ACC_INTERFACE flag must be set as well. > As the result this test fails with ClassFormatError: annotation type must be interface > Used access flags should be fixed according to 1.5 specifications or this test should be removed. > Tests from accessFlags015, accessFlags18 and accessFlags19 subsuites check the using of ACC_ANNORATION flag. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.