users@grizzly.java.net

Re: ProtocolParser Advice

From: John ROM <snake-john_at_gmx.de>
Date: Mon, 09 Jun 2008 17:32:27 +0200

Hi Jeanfrancois Arcand
Wow I actually didn't expect you to be so fast (8-:

I have a big bug in line 209
ByteBuffer newBuffer = ByteBufferFactory.allocateView(newCapacity, grizzlyBuffer.isDirect());

this line should be replaced with :

 ByteBuffer newBuffer = ByteBufferFactory.allocate(ByteBufferFactory.ByteBufferType.HEAP,newCapacity);


So in future what is the best way for me to change something in the published code.

For example I want to change the javadocs and also how the bytbuffer is treated...

Many Greetings John






-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger