[jcifs] lastModified issue

Carlos Neves patas at sueste.net
Fri Oct 24 19:26:27 EST 2003


Well, I can no longer reproduce it... So I'm rendering this thing as a
closed subject.

Serving as an excuse for bugging you people with unexisting issues, I
would just like to add that I lost most of the code related to the
problem and had to rewrite it. Sure thing I had all the ideas still
fresh in my mind, but of course I did not do it the exact same way I had
done it before, so chances are the bug was mine all along. I do think
this was not the case, as I did some debugging at the time and found
that the File.lastModified() was reporting right, and assuming I was
doing no harm to the value I got from jcifs... well, whatever, it's
working just fine, now!

Keep on the great work.

----
nelisky
patas at sueste.net

-----Mensagem original-----
De: Michael B Allen [mailto:mba2000 at ioplex.com] 
Enviada: sexta-feira, 17 de Outubro de 2003 23:32
Para: Carlos Neves
Cc: jcifs at lists.samba.org
Assunto: Re: [jcifs] lastModified issue



> Hello. I found that in a XP machine accessing lastModified() from File
> and from smb://localhost/ renders different times for the same file...

> Is this a bug or am I missing something here?

It does sound like a bug in jCIFS. Can you get a packet capture or at
least a -Dlog=ALL trace? Also, what version of jCIFS are you using?

Mike

-- 
A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not yet
been conceived.




More information about the jcifs mailing list