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: Michael Koch
Subject: [bugs #9107] CharBuffer.wrap(CharSequence, int, int) takes startOffset and endOffset, not offset and length
Date: Thu, 27 May 2004 16:45:54 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; de, address@hidden) (KHTML, like Gecko)

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

/**************************************************************************/
[bugs #9107] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Thu 05/27/04 at 06:27 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fix commited to CVS. It will be fixed in 0.10 release.






/**************************************************************************/
[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:  Fixed
Assigned to:  None
Status:  Closed
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)

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 05/27/04 at 06:27         By: mkoch
Fix commited to CVS. It will be fixed in 0.10 release.












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]