C
chrism778
The skip() method appears to be broken in the Java 1.5.05 JVM for
kernel 2.6.9 of Linux (32-bit) when you pass in a value larger than
Integer.MAX_VALUE. I keep getting an "IOException: Invalid Argument"
when trying to skip more than Integer.MAX_VALUE bytes in a file larger
than Integer.MAX_VALUE.
This method works fine in Windows XP (32-bit) against the exact same
large files. I also tried a newer JVM (1.5.12), but had the same
problem.
Does anyone know of a workaround or fix for this? Thanks.
- Chris
kernel 2.6.9 of Linux (32-bit) when you pass in a value larger than
Integer.MAX_VALUE. I keep getting an "IOException: Invalid Argument"
when trying to skip more than Integer.MAX_VALUE bytes in a file larger
than Integer.MAX_VALUE.
This method works fine in Windows XP (32-bit) against the exact same
large files. I also tried a newer JVM (1.5.12), but had the same
problem.
Does anyone know of a workaround or fix for this? Thanks.
- Chris