Re: File size limitation question

On Mon, 12 Dec 2005, Andrey Yakovenko wrote:

> As I found, maximum file size explicitly limited in Jigsaw (2.2.5a discussed).
>
> org.w3c.tools.resources.FileResource.java (line 343):
>     setValue(ATTR_FILE_LENGTH, new Integer((int)file.length()));
>
> Conversion from java's standard Long for file sizes to Integer is done.
> I wonder why, as this makes impossible for Jigsaw to handle files with
> size more than 2^32 bytes (4GB).
> In my case this is unacceptable...=(
> (I'm thinking about replacement all of that to Long, so it's important
> to know why it was done.)

It's on my top priority list, I plan to move to Long for 2.2.6 (there was 
no LongAttribute, hence the limitation in early version of Jigsaw, but 
it's time to move on and serve real big files).
I'll send an experimental jar for testing purposes soon.

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Monday, 12 December 2005 11:48:27 UTC