Hi all, The Flags show (0 1 2 3 4) by printf at 'vl_api_bridge_flags_t_handler' when calling java api(bridgeFlags). It seems to be that the ordinal of the java enum type was passed into the c function('vl_api_bridge_flags_t_handler'), not the value of the java enum type(1 2 4 8 16) .
I changed "jmethodID getValueMethod = (*env)->GetMethodID(env, enumClass, "ordinal", "()I");" to "jmethodID getValueMethod = (*env)->GetMethodID(env, enumClass, "value", "()I");" in extras/japi/java/jvpp/gen/jvppgen/jni_type_handlers_gen.py. But unfortunately, SIGSEGEV appeared in java program. Help please! wangchuan...@163.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11255): https://lists.fd.io/g/vpp-dev/message/11255 Mute This Topic: https://lists.fd.io/mt/28143645/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-