Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69105 invoked from network); 27 Jun 2009 23:53:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jun 2009 23:53:00 -0000 Received: (qmail 48163 invoked by uid 500); 27 Jun 2009 23:53:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48095 invoked by uid 500); 27 Jun 2009 23:53:11 -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 48087 invoked by uid 99); 27 Jun 2009 23:53:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Jun 2009 23:53:11 +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; Sat, 27 Jun 2009 23:53:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B8BB234C004 for ; Sat, 27 Jun 2009 16:52:47 -0700 (PDT) Message-ID: <173705591.1246146767427.JavaMail.jira@brutus> Date: Sat, 27 Jun 2009 16:52:47 -0700 (PDT) From: "Sebb (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-4293) Mutable public static variables 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 Mutable public static variables ------------------------------- Key: DERBY-4293 URL: https://issues.apache.org/jira/browse/DERBY-4293 Project: Derby Issue Type: Bug Reporter: Sebb There are quite a few instances of public static fields which appear to be intended to be constant, but which are not final. The code would be safer if all the constant fields were made final. Patch to follow for some of the problem fields. The following also ought to be fixed: org.apache.derby.iapi.services.property.PropertyUtil.servicePropertyList (e.g. use an accessor to lookup the values) org.apache.derby.iapi.types.JSQLType.primitiveNames (ditto) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.