tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r1175632 - /tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
Date Mon, 26 Sep 2011 00:21:20 GMT
Author: hlship
Date: Mon Sep 26 00:21:19 2011
New Revision: 1175632

URL: http://svn.apache.org/viewvc?rev=1175632&view=rev
Log:
Fix compiler error caused by Jenkins on JDK 1.5 (a JDK 1.6 constructor was being used)

Modified:
    tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java

Modified: tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java?rev=1175632&r1=1175631&r2=1175632&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
(original)
+++ tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
Mon Sep 26 00:21:19 2011
@@ -409,7 +409,8 @@ public class PlasticInternalUtils
                 return new FileInputStream(new File(url.toURI()));
             } catch (URISyntaxException ex)
             {
-                throw new IOException(ex);
+                // Note: the simple constructor IOException(Throwable) is only since 1.6
+                throw new IOException(ex.getMessage(), ex);
             }
         }
 



Mime
View raw message