CAMEL-7930 Fixed the org.apache.camel.itest.ftp.SpringFtpEndpointTest test failure with JDK6