Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.0-beta-10
-
None
-
None
Description
The method GroovyShell#parse(String) declares to throw an IOException. This is a bit of a drag as it will never throw one - internally the method uses ByteArrayInputStream, which (to my knowledge) never actually throws an IOException.
The only method in ByteArrayInputStream that even declares to throw IOException is close() and in its javadoc it says it won't throw one.
I have a patch for this which I will attach if I can just find out how...