Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Assert 1.1
-
Fix Version/s: FEST-Assert 1.2
-
Component/s: Assert
-
Labels:None
-
Number of attachments :
Description
The current sourcecode uses a IOException constructor which is only available in Java 1.6 and later:
new IOException(concat("Unable to read image from file ", quote(imageFilePath)), e);
This code won't compile against Java 1.5, which is the Java version we chose as our source and target platform in the parent pom.xml
Fix this by not catching the IOException. Instead, simply let it fly "as is".
Fixed in SVN revision 332. Needs assignment to one of the upcoming releases.