add a comment about a resource leak problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4074 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
13ca8a7aa8
commit
0fab9778c3
|
@ -66,6 +66,13 @@ public class FileUtil {
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* This may be a resource leak:
|
||||
* http://bugs.sun.com/view_bug.do?bug_id=4724038
|
||||
*
|
||||
* We may have to reconsider using nio for this, or apply one of the horrible
|
||||
* workarounds listed in the bug report above.
|
||||
*/
|
||||
public static void copy(String srcFileName, String destFileName) throws IOException {
|
||||
if (srcFileName == null) {
|
||||
throw new IllegalArgumentException("srcFileName is null");
|
||||
|
|
Loading…
Reference in New Issue