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 4B69D1015F for ; Tue, 18 Feb 2014 18:50:21 +0000 (UTC) Received: (qmail 93131 invoked by uid 500); 18 Feb 2014 18:50:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 93102 invoked by uid 500); 18 Feb 2014 18:50:19 -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 93093 invoked by uid 99); 18 Feb 2014 18:50:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 18:50:19 +0000 Date: Tue, 18 Feb 2014 18:50:19 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6459) Remove Class.forName calls that load JDBC driver from Derby samples/demos 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-6459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904394#comment-13904394 ] Kim Haase commented on DERBY-6459: ---------------------------------- Committed patch DERBY-6459-2.diff to code trunk at revision 1569470. > Remove Class.forName calls that load JDBC driver from Derby samples/demos > ------------------------------------------------------------------------- > > Key: DERBY-6459 > URL: https://issues.apache.org/jira/browse/DERBY-6459 > Project: Derby > Issue Type: Sub-task > Components: Demos/Scripts > Affects Versions: 10.11.0.0 > Reporter: Kim Haase > Assignee: Kim Haase > Attachments: DERBY-6459-2.diff, DERBY-6459.diff, DERBY-6459.stat > > > Several of the Derby samples and demos call Class.forName to load the JDBC driver, although this is not necessary at Java SE 6 and later. Since at 10.11 we won't support versions of the platform earlier than JDK 6, these calls should be removed from the samples (and any mention of them removed from the accompanying documentation). > There are calls to Class.forName that load other objects besides the driver; I assume these are still needed, but if not, they could be replaced with something more current. -- This message was sent by Atlassian JIRA (v6.1.5#6160)