From dev-return-15286-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Feb 25 17:30:51 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 47266 invoked from network); 25 Feb 2010 17:30:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2010 17:30:50 -0000 Received: (qmail 15911 invoked by uid 500); 25 Feb 2010 17:30:50 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 15882 invoked by uid 500); 25 Feb 2010 17:30:50 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 15828 invoked by uid 99); 25 Feb 2010 17:30:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:30:50 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2010 17:30:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D343A234C045 for ; Thu, 25 Feb 2010 09:30:27 -0800 (PST) Message-ID: <164012650.529221267119027853.JavaMail.jira@brutus.apache.org> Date: Thu, 25 Feb 2010 17:30:27 +0000 (UTC) From: "Laird Nelson (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1534) JDBCConfigurationImpl.clone() butchers passwords In-Reply-To: <1338489688.503711267042647948.JavaMail.jira@brutus.apache.org> 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/OPENJPA-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laird Nelson updated OPENJPA-1534: ---------------------------------- Component/s: jdbc > JDBCConfigurationImpl.clone() butchers passwords > ------------------------------------------------ > > Key: OPENJPA-1534 > URL: https://issues.apache.org/jira/browse/OPENJPA-1534 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 2.0.0-beta > Reporter: Laird Nelson > > Cloning a JDBCConfigurationImpl instance results in getConnectionPassword() returning a bogus password. > To test, do: > final JDBCConfigurationImpl c = new JDBCConfigurationImpl(); > c.setConnectionPassword("abc"); > final JDBCConfigurationImpl c2 = (JDBCConfigurationImpl)c.clone(); > assert c2 != null; > assert c2.getConnectionPassword().equals(c.getConnectionPassword()); // this fails -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.