[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/36147] Apache Tomcat fails to read descriptors using GNU
From: |
gnu_andrew at member dot fsf dot org |
Subject: |
[Bug classpath/36147] Apache Tomcat fails to read descriptors using GNU XML |
Date: |
11 May 2008 18:51:01 -0000 |
------- Comment #1 from gnu_andrew at member dot fsf dot org 2008-05-11 18:51
-------
This was an issue with the CPStringBuilder reusing the array, and thus
generating a strange series of headers from the HTTP request.
Fixed in CVS.
CVSROOT: /sources/classpath
Module name: classpath
Changes by: Andrew John Hughes <gnu_andrew> 08/05/11 18:48:52
Modified files:
. : ChangeLog
gnu/java/lang : CPStringBuilder.java
Log message:
2008-05-11 Andrew John Hughes <address@hidden>
PR classpath/36147
* gnu/java/lang/CPStringBuilder.java:
(allocated): New flag to mark whether or
not the array has been allocated to a String object.
(ensureCapacity(int)): Removed.
(ensureCapacity_unsynchronized(int)): Renamed to
ensureCapacity, and creates an array when allocated
is true.
(allocateArray(int)): Added.
(trimToSize()): Use allocateArray method.
(toString()): Set allocated to true;
(substring(int,int)): Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9610&r2=1.9611
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/lang/CPStringBuilder.java?cvsroot=classpath&r1=1.7&r2=1.8
--
gnu_andrew at member dot fsf dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |0.98
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36147