db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Van Couvering (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1075) Combine the script and the test available for upgrade testing into a java test
Date Wed, 22 Mar 2006 00:21:24 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1075?page=all ]

David Van Couvering updated DERBY-1075:

    Attachment: classloader.jar

Hi, Deepa.  This is a copy of engine/org/apache/derby/jdbc in my sandbox.  DerbyLoader.jar
is a classloader I wrote to handle code sharing.  You will notice that there are two things
going on:

- A number of the classes have been split up into a "proxy" and its underlying implementation
that it delegates to
- The underlying implementation implements an interface defined in the "interfaces" package.
 The interfaces need to be a separate package to avoid sealing issues
- The proxy class loads the implementation class using DerbyLoader and then casts it to the
appropriate interface, and then invokes methods via that interface.

Let me know if you have any questions.  It's been a while since I worked on this but I think
I can get the cogs working again if need be.

I have granted license for this in case Deepa wants to use some or all of this code herself,
but in general it is *not* intended for checkin as is.


> Combine the script and the test available for upgrade testing into a java test
> ------------------------------------------------------------------------------
>          Key: DERBY-1075
>          URL: http://issues.apache.org/jira/browse/DERBY-1075
>      Project: Derby
>         Type: Sub-task
>     Reporter: Deepa Remesh
>     Assignee: Deepa Remesh
>     Priority: Minor
>      Fix For:
>  Attachments: classloader.jar, derby-1075-patch1-draft.diff, derby-1075-patch1-draft.status,
derby-1075-v1.diff, derby-1075-v1.status, loader.java, loader_v2.java
> Separating a part of DERBY-514 into a sub-task. This sub-task is to combine the script
'runphases.ksh' and the java file 'phaseTester.java' into a single java test. This will help
to later add the upgrade tests into the regression suite. Also, this sub-task can be done
independent of DERBY-1049 which is blocking DERBY-514.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message