Dear cocooners,

After reading "performance issues under Mac OS X", I would like to
do small change to ClassUtils, however do not know whould this change
have any side effect or not. The change is in one line:
------------------------------------------------------
         String basename = className.substring(className.lastIndexOf(".") + 1);
 
-        File file = new File(directory.getCanonicalPath() + File.separator + basename 
+ ".class");
+        File file = new File(directory, basename + ".class");
 
         return file.lastModified();
------------------------------------------------------

PS: This works for me (Win + JDK1.3)

Thanks,
Vadim


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to