Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 50059 invoked from network); 3 Jul 2010 20:17:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jul 2010 20:17:44 -0000 Received: (qmail 61795 invoked by uid 500); 3 Jul 2010 20:17:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 61744 invoked by uid 500); 3 Jul 2010 20:17:43 -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 61737 invoked by uid 99); 3 Jul 2010 20:17:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 20:17:43 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 20:17:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o63K9nSV020558 for ; Sat, 3 Jul 2010 20:09:49 GMT Message-ID: <11611623.190751278187789617.JavaMail.jira@thor> Date: Sat, 3 Jul 2010 16:09:49 -0400 (EDT) From: "Mark Hindess (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-6568) Rough code structure for jdb In-Reply-To: <3588920.173951278080030689.JavaMail.jira@thor> 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 [ https://issues.apache.org/jira/browse/HARMONY-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884963#action_12884963 ] Mark Hindess commented on HARMONY-6568: --------------------------------------- You don't need the launcher. Please create a patch against the federated build that updates the jdktools tree to include the new tool. The patch will need to: 1) create jdktools/modules/jdktools/src/main/java/org/apache/harmony/tools/jdb/Main.java 2) Add a copy task to jdktools/modules/samsa/build.xml to copy the generic samsa.exe to jdb.exe. See the implementation of the other jdk tools for examples of the changes required. > Rough code structure for jdb > ---------------------------- > > Key: HARMONY-6568 > URL: https://issues.apache.org/jira/browse/HARMONY-6568 > Project: Harmony > Issue Type: Improvement > Components: JDK > Environment: windows and linux > Reporter: Daniel Gong > Attachments: jdb.zip > > > I've written rough jdb code structure to demonstrate my idea for the design of jdb. > I want to attach it here to ask for some suggestions then I can make it better in the early stage. > The basic idea is use enumeration to define commands and then implement multi-way selection with polymorphism. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.