A defect has been discovered in the new tibrvnative.jar and tibrvnativesd.jar implementations.
book
Article ID: KB0090189
calendar_today
Updated On:
Products
Versions
TIBCO Rendezvous
-
Not Applicable
-
Description
Description: A defect has been found in the new native (JNI) implementations available in RV 7.3. Specifically string fields are improperly marshaled from C to Java. When retrieving a string field from a message the C trailing null character remains in the Java string. If printed, this string will look the same as the original C string but a call to String.equals will return false. Even a simple string add/get on a message will fail. This defect exists in both Tibrvnative.jar and tibrvnativesd.jar.
The only workaround at this time is to continue using the older tibrvj.jar (or tibrvjsd.jar) rather than the new tibrvnative.jar. The documentation states that the tibrvj.jar has been deprecated in RV 7.3, and will be removed in a later release, however it is still shipped with RV 7.3 and for the current time it is the jar that should be used in order to avoid having this problem.
This defect will be addressed in an upcoming release of RV.
Symptoms:
Cause:
Issue/Introduction
A defect has been discovered in the new tibrvnative.jar and tibrvnativesd.jar implementations.