Parent Directory | Revision Log | Patch
revision 1.27 by mkoch, Mon Mar 31 09:42:24 2003 UTC | revision 1.28 by mkoch, Sun Apr 6 10:38:30 2003 UTC | |
---|---|---|
# | Line 1099 public class RandomAccessFile implements | Line 1099 public class RandomAccessFile implements |
1099 | public synchronized FileChannel getChannel () | public synchronized FileChannel getChannel () |
1100 | { | { |
1101 | if (ch == null) | if (ch == null) |
1102 | ch = new FileChannelImpl ((int) (fd.getNativeFd() & 0xFFFF), this); | ch = new FileChannelImpl (fd, true, this); |
1103 | ||
1104 | return ch; | return ch; |
1105 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |