[ https://issues.apache.org/jira/browse/IO-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557661#action_12557661 ]
nicolas de loof commented on IO-155: ------------------------------------ as this static block is only dedicated to detect java runtime, catching Exception (or maybe Throwable) prevents any possible initialization error. But catching ClassNotFoundException would be also valid > use NIO for copyFile when running on java 1.4 > --------------------------------------------- > > Key: IO-155 > URL: https://issues.apache.org/jira/browse/IO-155 > Project: Commons IO > Issue Type: Improvement > Components: Utilities > Affects Versions: 1.4 > Reporter: nicolas de loof > Priority: Trivial > Fix For: 1.4 > > Attachments: IO-155.patch > > > CopyFile can rely on java.nio when runtime is java 1.4 + -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.