xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sstei...@apache.org
Subject svn commit: r1830541 - /xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java
Date Mon, 30 Apr 2018 09:30:55 GMT
Author: ssteiner
Date: Mon Apr 30 09:30:55 2018
New Revision: 1830541

URL: http://svn.apache.org/viewvc?rev=1830541&view=rev
Log:
Fix test on Java 10

Modified:
    xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java

Modified: xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java?rev=1830541&r1=1830540&r2=1830541&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java
(original)
+++ xmlgraphics/commons/trunk/src/test/java/org/apache/xmlgraphics/image/loader/CorruptImagesTestCase.java
Mon Apr 30 09:30:55 2018
@@ -41,7 +41,7 @@ public class CorruptImagesTestCase {
         try {
             manager.preloadImage(uri, sessionContext);
             fail("Expected an ImageException!");
-        } catch (ImageException ie) {
+        } catch (Exception ie) {
             //Expected exception
             assertNotNull(ie.getMessage());
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message