[jboss-dev-forums] [Design the new POJO MicroContainer] - JBVFS-60, hasBeenModified implementation resolution problem
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Sep 9 14:11:15 EDT 2008
The problem with the current JBVFS-59 FileVFSUnitTestCase.testWarLinkUpdate failures is that the test is rapidly modifying the underlying test-link.war.vfslink.properties file, but the resolution of the URLConnection.getLastModified() is >1000 microseconds on some systems. We need a better implementation of the VirtualFileHandler.hasBeenModified for each URL type. We had dropped our override of the file: URL handler because what we were overriding had been implemented in later jdk versions. I assume this resolution limitation is coming from the java.io.File implementation, so I don't know what we can do about it at this point.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175388#4175388
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175388
More information about the jboss-dev-forums
mailing list