Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 24702 invoked from network); 18 Jan 2007 10:51:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 10:51:51 -0000 Received: (qmail 45129 invoked by uid 500); 18 Jan 2007 10:51:57 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45107 invoked by uid 500); 18 Jan 2007 10:51:57 -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 45064 invoked by uid 99); 18 Jan 2007 10:51:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 02:51:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Thu, 18 Jan 2007 02:51:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36C007142A6 for ; Thu, 18 Jan 2007 02:51:30 -0800 (PST) Message-ID: <22494953.1169117490221.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 02:51:30 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2052) [drlvm] Improve/re-implement a parser of generic signatures 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-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465718 ] Alexey Varlamov commented on HARMONY-2052: ------------------------------------------ Very nice - so it appears the parser has no kernel or VMI dependency - just signature and reflected object as inputs are enough? That's excellent, the 1st step already brought desired parser API simplification! I suppose we need not commit this patch, please keep going. > [drlvm] Improve/re-implement a parser of generic signatures > ----------------------------------------------------------- > > Key: HARMONY-2052 > URL: https://issues.apache.org/jira/browse/HARMONY-2052 > Project: Harmony > Issue Type: Task > Components: Classlib, DRLVM > Reporter: Alexey Varlamov > Assigned To: Paulex Yang > Priority: Minor > Attachments: HARMONY-2052-1.diff > > > Improve/re-implement a parser of generic signatures in DRLVM kernel classes [1], and move this functionality to classlib (luni ?), so other VMs could reuse it for 1.5 support. The current impl is somewhat messy and half-baked, one need to invent more shaped and modular API to the parser. One more possible issue is parser's dependency on antlr, which may be considered overkill for this duty. I think antlr has its pros, like more illustrative code with clear correlation to formal grammar [2]; unfortunately this is not the case with the impl in question. OTOH minimizing number of dependencies for VM is always good. > [1] working_vm\vm\vmcore\src\kernel_classes\javasrc\org\apache\harmony\lang\reflect\** > [2] http://java.sun.com/docs/books/vmspec/2nd-edition/ClassFileFormat-Java5.pdf Para 4.4.4 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira