From commits-return-39772-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Tue Jul 03 13:09:28 2007 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 8050 invoked from network); 3 Jul 2007 13:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 13:09:27 -0000 Received: (qmail 84462 invoked by uid 500); 3 Jul 2007 13:09:29 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 84450 invoked by uid 500); 3 Jul 2007 13:09:29 -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 84430 invoked by uid 99); 3 Jul 2007 13:09:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 06:09:29 -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; Tue, 03 Jul 2007 06:09:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 89A75418008 for ; Tue, 3 Jul 2007 06:09:04 -0700 (PDT) Message-ID: <8722333.1183468144560.JavaMail.jira@brutus> Date: Tue, 3 Jul 2007 06:09:04 -0700 (PDT) From: "Ivan Popov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4323) [jdktools][jpda] JDWP commands VirtualMachine.AllClasses returns not prepared classes In-Reply-To: <19128131.1183467064631.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-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Popov updated HARMONY-4323: -------------------------------- Patch Info: [Patch Available] > [jdktools][jpda] JDWP commands VirtualMachine.AllClasses returns not prepared classes > ------------------------------------------------------------------------------------- > > Key: HARMONY-4323 > URL: https://issues.apache.org/jira/browse/HARMONY-4323 > Project: Harmony > Issue Type: Bug > Components: JDK > Environment: Windows/x86, Linux/x86 > Reporter: Ivan Popov > Attachments: H4323_jdwp_agent_all_classes.patch > > > JDWP spec does not say anyting about classes returned by AllClasses command. However, JDI spec for VirtualMachine.allClasses() reads: > The returned list will include reference types loaded at least > to the point of preparation and types (like array) for which > preparation is not defined. > It is unclear who should perform filtering for classes: JDI or JDWP implementation. But it looks like JDWP agent from RI never reports unprepared classes. It makes sense to adjust Harmony's JDWP agent to filter out unprepared classes. > This issue may cause intermittent failures of the following JDWP stress tests: > org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE003.RefTypeTest003 > org.apache.harmony.test.stress.jpda.jdwp.scenario.REFTYPE004.RefTypeTest004 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.