Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
//HftpFileSystem private static RenewerThread renewer = new RenewerThread(); static { renewer.start(); }
HftpFileSystem creates and starts a RenewerThread in the static initializer. Starting a thread is expensive and the RenewerThread is not required in some cases. One typical example is calling HftpFileSystem.makeQualified(Path path).