[infer][java] Infer does not really rely on having compliant bytecode to run the analysis

Summary: Infer starts from bytecode generated by the compilation commands, so there isn't much need to check if the bytecode is compliant or not.

Reviewed By: sblackshear

Differential Revision: D4179218

fbshipit-source-id: 2f27148
master
Jeremy Dubreil 8 years ago committed by Facebook Github Bot
parent 02ce9a909a
commit 2320ed8af3

@ -152,6 +152,7 @@ let do_all_files classpath sources classes =
(* loads the source files and translates them *)
let () =
JBasics.set_permissive true;
let classpath, sources, classes = JClasspath.load_sources_and_classes () in
if StringMap.is_empty sources then
failwith "Failed to load any Java source code"

Loading…
Cancel
Save