Community
Participate
Working Groups
To be able to send binary data via DataChannel It is need additional Java API method BaseAgent.sendData(int, byte[]) Existing method BaseAgent.sendData(int, char[]) can't be used in binary data transfer since char is Unicode 2 bytes data type and can be used in strings transfer only.
Deferring since cannot be contained in 4.3
Not yet triaged
Created attachment 66283 [details] Introduce JNI implementation of sendData(int, byte[]) and fix sendData(int, char[]) bug This is a patch for both Bug 150217 and Bug 150216.
Created attachment 66284 [details] Introduce SendData(int, byte[]) Java implementation This is a patch for both Bug 150217 and Bug 150216.
The patches are submitted. Samson, could you review the patches, please?
Hi Stanislav. Is there a reason of changing the IBaseAgent interface at this time? Is there a possiblity of breaking existing agent if we do so now? BTW this is not targeted to 4.4 and is not in plan as an enhancement. I would not suggest checking this in now until this enhancement is approved since this might be an API-breaking change.
Hi all, You have all my apologies if I interfere in your work processes, but I read the patches attached by Stanislav, and two facts are clear to me : 1. The correction of the bug #150216, included in the patch, does not affect the API. 2. The modification does not change the API, it just adds a new function without any modification to the existing ones. So it would be great if the patch could be committed shortly, or a least if it could be broken in two. If so, the corrective part of the patch could be committed and the bug 150216 would be closed, at least. Anyway, to develop an Java agent with this bug is not really clean. Best regards. Marc
Resolving as fixed
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.