[
https://issues.apache.org/jira/browse/DERBY-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571830#action_12571830
]
dibyendumajumdar edited comment on DERBY-3451 at 2/23/08 6:17 PM:
-------------------------------------------------------------------
Revised patch - created at revision 630512.
Patch was created using Mercurial. See comments above for details on how to
apply either using patch command or using Eclipse.
Test results:
derbyall ran on CentOS 5.1 using Java 6. Out of 250 tests, 2 failed. Looks like
failures were caused by SQLException being output with stack trace.
I also ran junit-all on Mac OS X, suing Java 1.5.
There were following failures:
[junit] Tests run: 0, Failures: 2, Errors: 0, Time elapsed: 1.131 sec
[junit] Test org.apache.derbyTesting.functionTests.tests.demo._Suite FAILED
Looks like failure was due to:
<testcase classname="org.apache.derbyTesting.junit.SupportFilesSetup"
name="unknown" time="0.0010">
<failure
message="org/apache/derbyTesting/functionTests/tests/demo/cupisle.gif"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
org/apache/derbyTesting/functionTests/tests/demo/cupisle.gif
at
org.apache.derbyTesting.junit.SupportFilesSetup.copyFiles(SupportFilesSetup.java:174)
at
org.apache.derbyTesting.junit.SupportFilesSetup.access$000(SupportFilesSetup.java:64)
at
org.apache.derbyTesting.junit.SupportFilesSetup$1.run(SupportFilesSetup.java:139)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.derbyTesting.junit.SupportFilesSetup.privCopyFiles(SupportFilesSetup.java:135)
at
org.apache.derbyTesting.junit.SupportFilesSetup.setUp(SupportFilesSetup.java:120)
at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
at junit.extensions.TestSetup.run(TestSetup.java:23)
</failure>
</testcase>
was (Author: dibyendumajumdar):
Revised patch - created at revision 630512.
Patch was created using Mercurial. See comments above for details on how to
apply either using patch command or using Eclipse.
> Remove dependency between StandardException class and
> org.apache.derby.impl.jdbc classes.
> -----------------------------------------------------------------------------------------
>
> Key: DERBY-3451
> URL: https://issues.apache.org/jira/browse/DERBY-3451
> Project: Derby
> Issue Type: Sub-task
> Reporter: Dibyendu Majumdar
> Assignee: Dibyendu Majumdar
> Attachments: DERBY-3451_patch_rev630512.txt
>
>
> In the package org.apache.derby.iapi.error, the class StandardException
> contains references to following classes:
> org.apache.derby.impl.jdbc.Util
> org.apache.derby.impl.jdbc.EmbedSQLException
> This is undesirable as it introduces a dependency between StandardException
> and the implementation of EmbedSQLException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.