db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1390126 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java
Date Tue, 25 Sep 2012 20:51:47 GMT
Author: myrnavl
Date: Tue Sep 25 20:51:46 2012
New Revision: 1390126

URL: http://svn.apache.org/viewvc?rev=1390126&view=rev
Log:
DERBY-5775; Upgrade tests should print full IOException stack trace when it fails to access
old versions 
  slight modification of message and printing the stack trace in case of an IOException.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java?rev=1390126&r1=1390125&r2=1390126&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/UpgradeClassLoader.java
Tue Sep 25 20:51:46 2012
@@ -224,8 +224,9 @@ public class UpgradeClassLoader
                 } catch (MalformedURLException e) {
                     Assert.fail(e.toString());
                 } catch (IOException e) {
-                    BaseTestCase.alarm("IOException msg: '" + e.getMessage() + "'." 
+                    BaseTestCase.alarm("IOException connecting to location: " + oldURLJarLocation
+ ", msg: '" + e.getMessage() + "'." 
                         + " Upgrade tests can NOT be run!");
+                        e.printStackTrace();
                     return null;
                 }
 



Mime
View raw message