db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r1639421 - /db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java
Date Thu, 13 Nov 2014 17:59:15 GMT
Author: myrnavl
Date: Thu Nov 13 17:59:14 2014
New Revision: 1639421

URL: http://svn.apache.org/r1639421
Log:
DERBY-6471; Create a regression test which will fail if classes from one Derby jar file leak
into another jar file
   Modifying the text printed out when an error occurs with more details.

Modified:
    db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java

Modified: db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java?rev=1639421&r1=1639420&r2=1639421&view=diff
==============================================================================
--- db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java (original)
+++ db/derby/code/trunk/java/build/org/apache/derbyBuild/JarDriftTest.java Thu Nov 13 17:59:14
2014
@@ -100,9 +100,13 @@ public class JarDriftTest {
             e.printStackTrace();
         }
         if (failbuild) 
-            throw new Exception("jar drift check failed. \n" +
+            throw new Exception(
+                "\njar drift check failed; see DERBY-6471 for info. \n" +
                 "See error in build output or call ant jardriftcheck. \n" +
-                "If the new class is expected run ant refreshjardriftcheck.\n");
+                "If the new class is expected run ant refreshjardriftcheck.\n"+
+                "NB: Run the refresh for both sane and insane builds. \n" +
+                "    Use the highest supported JVM (currently Java 8) \n " +
+                "    to ensure all classes are built.\n");
     }    
 
     protected void loadJarContents(String jarName)



Mime
View raw message