commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9107] CharBuffer.wrap(CharSequence, int, int) takes startOffset a


From: Tom Quarendon
Subject: [bugs #9107] CharBuffer.wrap(CharSequence, int, int) takes startOffset and endOffset, not offset and length
Date: Wed, 26 May 2004 05:45:11 -0400
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705)

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #9107] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9107>
Project: classpath
Submitted by: Tom Quarendon
On: Wed 05/26/04 at 09:41

Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  CharBuffer.wrap(CharSequence, int, int) takes startOffset and 
endOffset, not offset and length

Original Submission:  The parameters for the wrap methods in CharBuffer are 
inconsistent in Sun's java, but the CharBuffer.wrap method that takes a 
CharBuffer and two ints should interpret the two ints as a start and end 
offset, and not a offset and length (which is how Claspath does interpret 
them). This is different from the CharBuffer.wrap that takes a char array, 
which should interpret the two ints as offset and length (which Classpath does)











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9107>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]