Bug 3703

Summary: public ByteBuffer get (long index, byte[] dst, int off, int len) should use peekFully
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Phil Muldoon <pmuldoon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2231, 2243    

Description Phil Muldoon 2006-12-11 22:55:26 UTC
Right now it uses:

peek(lowWater + index, dst, off, len);

But it should use:

peekFully(lowWater + index,dst,off,len)

In the PtraceByteBuffer implementation, the get method will only return one word
using peek.
Comment 1 Phil Muldoon 2006-12-11 22:57:24 UTC
2006-12-11  Phil Muldoon  <pmuldoon@redhat.com>

	* eio/ByteBuffer.java (get): Change to use peekFully over peek.