OK - I just had an idea:

FileResource looks like this:

public class FileResource
    extends StreamResource
{
    private final File m_file;

    ...

    /**
     * Determines the last time this resource was modified
     */
    public long lastModified()
    {
        return m_file.lastModified();
    }

    ...
}

Now, what if the m_file.lastModified() doesn't go to the filesystem to
get the last modified date when called, but the info is cached in the
m_file object? Then it would return the same value all the time.

Or maybe it is delayed ten seconds or so.

Just a quick poll:

 + I run the tests on W2K, and it works.
 + Berin, you ran W2K if I remember correctly - and it works.
 + GUMP runs on some UNIX derivative and it fails.
 + Leo Simons, you run Linux, yes? It fails for you.

So could this be the result of impl differences between UNIX/Linux/Win
JVMs?

/LS


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

Reply via email to