[ 
http://issues.apache.org/jira/browse/DERBY-1153?page=comments#action_12372051 ] 

David Van Couvering commented on DERBY-1153:
--------------------------------------------

Actually, it needs to be reworked for JDK 1.3 since there are no chained 
exceptions in JDK 1.3.  The test can probably be written to test for the JDK 
version and then modify its assertions accordingly.  In general, nextException 
stuff should work, but not getCause() style exception chaining.

Apologies for not thinking of this when I wrote the test.  Since this is a new 
test, we may want to consider just excluding it for JDK 1.3, but I'm not sure 
about that...

> derbynet/SqlExceptionTest.junit fails with Sun JDK 1.3
> ------------------------------------------------------
>
>          Key: DERBY-1153
>          URL: http://issues.apache.org/jira/browse/DERBY-1153
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>     Reporter: A B
>     Priority: Minor

>
> derbynet/SqlExceptionTest.junit fails with Sun JDK 1.3:
> 0 add
> > .E.E
> > There were 2 errors:
> > 1) 
> > testChainedException(org.apache.derbyTesting.functionTests.tests.derbynet.SqlExceptionTest)java.lang.NoSuchMethodError
> > 2) 
> > testNextException(org.apache.derbyTesting.functionTests.tests.derbynet.SqlExceptionTest)java.lang.NoSuchMethodError
> > FAILURES!!!
> > Tests run: 2,  Failures: 0,  Errors: 2
> The test passes with 1.4.2, so this looks like a master update issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to