Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 48515 invoked from network); 15 Apr 2005 18:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Apr 2005 18:32:27 -0000 Received: (qmail 83244 invoked by uid 500); 15 Apr 2005 18:32:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83155 invoked by uid 500); 15 Apr 2005 18:32:21 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 83101 invoked by uid 99); 15 Apr 2005 18:32:20 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: 32.97.182.141 is neither permitted nor denied by domain of suresh.thalamati@gmail.com) Received: from e1.ny.us.ibm.com (HELO e1.ny.us.ibm.com) (32.97.182.141) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 15 Apr 2005 11:32:12 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j3FIVsOH028073 for ; Fri, 15 Apr 2005 14:31:54 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3FIVsPZ226276 for ; Fri, 15 Apr 2005 14:31:54 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j3FIVsDD013147 for ; Fri, 15 Apr 2005 14:31:54 -0400 Received: from [127.0.0.1] (tsuresh.svl.ibm.com [9.30.40.233]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j3FIVqte012823 for ; Fri, 15 Apr 2005 14:31:54 -0400 Message-ID: <4260088E.9010508@gmail.com> Date: Fri, 15 Apr 2005 11:31:42 -0700 From: Suresh Thalamati User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: corrupt disk io storage factory for testing. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am looking at creating a new corruptible storage factory by extending the engine's disk storage factory. Purpose of this is to do explicitly corrupt the IO and do some recovery testing. Thought ideal place for the corruptible storage factory is to be in the test code utilities not in the code line. But I ran into a simple obstacle , constructors in the org.apache.derby.impl.io.DirFile etc are package protected. So I am unable to extend the disk storage factory classes successfully . I was wondering if there was any reason for not making constructors public or it was just that there was not requirement to do ? If no one has any objections I would like to modify them to be accessible outside org.apache.derby.impl.io.* package ? Thanks -suresht