tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: svn commit: r1157151 - in /tomcat/trunk/java/org/apache/coyote/http11: AbstractInputBuffer.java InternalInputBuffer.java
Date Fri, 12 Aug 2011 15:27:12 GMT
Mark,

On 8/12/2011 11:17 AM, markt@apache.org wrote:
> +    @Override
> +    public void recycle() {
> +        super.recycle();
> +        inputStream = null;
> +    }

If inputStream != null, should it be close()d? Or is this a shared
reference for which that kind of thing isn't appropriate? Or do we just
let the GC take care of that?

-chris


Mime
View raw message