The issue arises because Jave templates expect the Object
type to be used and not the primitive type.Other compilers
other than armeabi and x86 (at least reproducible for
armeabi-v7a) properly convert the primitive types to their
object form.
Change-Id: I6f4916b2e6d6699c58018baf25269c369eee01a5
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1153
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
*/\r
@Deprecated\r
public int getValueInt(String key) {\r
- int value = 0;\r
+ Integer value = 0;\r
try {\r
value = this.getValue(key);\r
} catch (OcException e) {\r
*/\r
@Deprecated\r
public boolean getValueBool(String key) {\r
- boolean value = false;\r
+ Boolean value = false;\r
try {\r
value = this.getValue(key);\r
} catch (OcException e) {\r