|
Kristian Waagan made changes - 17/Jul/08 09:16 AM
Kristian Waagan made changes - 17/Jul/08 09:17 AM
Kristian Waagan made changes - 17/Jul/08 12:25 PM
Kristian Waagan made changes - 17/Jul/08 03:57 PM
One small suggestion, while you're at it:
LOBInputStream.java: + } else { + throw new IOException(se.getMessage()); + } To preserve the stack trace: throw (IOException) new IOException(se.getMessage()).initCause(se); Perhaps we should have a helper method for this, since we seem to need it multiple places in these classes. That's a good idea Knut Anders!
Preserving the stack traces is important. I forgot to add a comment that I committed patch 'derby-3783-1a-dont_throw_sqlexception.diff' yesterday: - trunk : revision 677623 - 10.4 : revision 677628 I'm leaving the issue open for now.
Kristian Waagan made changes - 18/Jul/08 10:13 AM
I have created a patch which adds a method newIOException(Throwable cause) to the Util class in impl.jdbc and changes all occurrences of new IOException(e.getMessages()) in that package to use the utility method. All tests in derbyall and suites.All passed with the patch.
Knut Anders Hatlen made changes - 19/Jul/08 05:44 PM
Knut Anders Hatlen made changes - 19/Jul/08 05:45 PM
+1 to commit ' d3783-initCause.diff'.
Committed d3783-initCause.diff with revision 678388.
Knut Anders Hatlen made changes - 21/Jul/08 11:13 AM
Rick Hillegas made changes - 04/Aug/08 08:24 PM
Backported 'd3783-initCause.diff' to 10.4 with revision 682803. It went in with the patches for
Kristian Waagan made changes - 15/Dec/08 03:22 PM
Myrna van Lunteren made changes - 04/May/09 06:22 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I've tried to change as little as possible, but there was logic in some of the catch blocks that had to be moved.
I've run jdbcapi._Suite without failures, running suites.All and derbyall now.
I plan to commit (or post a new patch) once the tests have completed. Patch ready for review.