[infer][java] log the error message for JBasics.Class_structure_error

Reviewed By: sblackshear

Differential Revision: D6824281

fbshipit-source-id: 74453b6
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent ec263afe58
commit fa840ad1e4

@ -157,9 +157,9 @@ let create_icfg source_file linereader program icfg cn node =
ignore (JTrans.create_native_procdesc source_file program icfg cm proc_name)
| Javalib.ConcreteMethod cm ->
add_cmethod source_file program linereader icfg cm proc_name
with JBasics.Class_structure_error _ ->
L.internal_error "create_icfg raised JBasics.Class_structure_error on %a@." Typ.Procname.pp
proc_name
with JBasics.Class_structure_error error ->
L.internal_error "create_icfg raised JBasics.Class_structure_error %s on %a@." error
Typ.Procname.pp proc_name
in
Javalib.m_iter translate node

Loading…
Cancel
Save