tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject Re: trunk: An buffer exception in AccessLogValve.log(..)
Date Tue, 02 Oct 2012 19:27:24 GMT

> Von: Christopher Schultz <>
> An: Tomcat Developers List <>

> > A CharBuffer cannot grow itself?
> The API does not seem to say anything about re-sizing CharBuffers.

The Javadoc for java.nio.Buffer (superclass of CharBuffer) states that:
    A buffer's capacity is the number of elements it contains. The capacity of a buffer is
never negative and never changes. 

So one would probably need to manually allocate a bigger buffer when it has too little remaining

Konstantin Prei├čer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message