Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D55667CB2 for ; Wed, 28 Sep 2011 13:12:07 +0000 (UTC) Received: (qmail 70915 invoked by uid 500); 28 Sep 2011 13:12:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70893 invoked by uid 500); 28 Sep 2011 13:12:07 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 70885 invoked by uid 99); 28 Sep 2011 13:12:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 13:12:07 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Sep 2011 13:12:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 23A5628DD16 for ; Wed, 28 Sep 2011 13:11:46 +0000 (UTC) Date: Wed, 28 Sep 2011 13:11:46 +0000 (UTC) From: "Rick Hillegas (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <237238511.3650.1317215506147.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-1046) JVMInfo is duplicated in derbyclient.jar MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116419#comment-13116419 ] Rick Hillegas commented on DERBY-1046: -------------------------------------- Thanks for the patch, Kathey. Before applying it, I saw JVMInfo in the following jar files: derby.jar derbyclient.jar derbytools.jar After applying the patch, I see JVMInfo in the following jar files: derby.jar derbytools.jar In all cases, JVMInfo appears in this directory: org/apache/derby/iapi/services/info So this patch achieves what this JIRA wants to accomplish. I believe that the presence of JVMInfo in derbytools.jar means that DERBY-5431 is still possible. I would recommend the following improvement to this patch: The cloned code warns the user to propagate changes to JVMInfo as well. I think that there should be a similar warning in JVMInfo, advising people to propagate changes to org.apache.derby.impl.tools.sysinfo.Main. Thanks, -Rick > JVMInfo is duplicated in derbyclient.jar > ---------------------------------------- > > Key: DERBY-1046 > URL: https://issues.apache.org/jira/browse/DERBY-1046 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.2.1.6 > Reporter: Knut Anders Hatlen > Assignee: Kathey Marsden > Priority: Minor > Fix For: 10.2.1.6 > > Attachments: derby-1046.diff, derby-1046_diff.txt > > > The JVMInfo class is included twice in derbyclient.jar, as > org.apache.derby.iapi.services.info.JVMInfo and > org.apache.derby.shared.common.info.JVMInfo. The only one of them > actually used by the client code is the one found in > org.apache.derby.shared.common.info. > org.apache.derby.iapi.services.info.JVMInfo is also included in > derby.jar, so one could run into problems if the classpath contains > derbyclient.jar and derby.jar with different versions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira