Community
Participate
Working Groups
Net4J throws BufferUnderFlowExceptions if the data to transfer (payload + metadata) exactly matches the buffer capacity. Net4J erroneously uses 2 buffers (where 1 buffer's sufficient). This issue was already solved for R2_0_maintenance in https://bugs.eclipse.org/bugs/show_bug.cgi?id=262875 and has to be fixed for 3.0 now.
Created attachment 156324 [details] patch that solves java.nio.BufferUnderFlowException
Created attachment 156361 [details] Patch v2 - DO NOT COMMIT I refactored a little bit without changing the functionality and then realized that both, your original patch and, hence, my refactored patch do introduce regressions in the CDO tests. They're reproducible.
Created attachment 156416 [details] Patch v3 - taken from 2.0
Committed to HEAD
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/