Error when translate jni/classfile_constants.h
Anivie opened this issue · 2 comments
Anivie commented
Error info:
C to V translator 0.3.1
translating jdk/classfile_constants.h ... ================ V panic ================
module: builtin
function: get()
message: array.get: index out of range (i == 13, a.len == 13)
file: /v/vlib/builtin/array.v:408
v hash: 858ce4e
=========================================
/tmp/v_0/../../../../../../v/vlib/builtin/builtin.c.v:68: at panic_debug: Backtrace
/tmp/v_0/../../../../../../v/vlib/builtin/array.v:408: by array_get
/tmp/v_0/../../../../../../root/.vmodules/c2v/src/c2v.v:874: by main__C2V_enum_decl
/tmp/v_0/../../../../../../root/.vmodules/c2v/src/c2v.v:2152: by main__C2V_top_level
/tmp/v_0/../../../../../../root/.vmodules/c2v/src/c2v.v:2103: by main__C2V_translate_file
/tmp/v_0/../../../../../../root/.vmodules/c2v/src/c2v.v:2037: by main__main
/tmp/v_0/../../../../../../tmp/v_0/c2v.tmp.c:18285: by main
C2V command: '/root/.vmodules/c2v/c2v' 'jdk/classfile_constants.h'
C2V failed to translate the C files. Please report it via GitHub.
You can find this file in opjdk/include/classfile_constants.h
JalonSolov commented
Where does opjdk/include/classfile_constants.h
come from? Do you have a link to the source?