@@ -50,18 +50,38 @@ void java_bytecode_languaget::get_language_options(const cmdlinet &cmd)
50
50
throw_assertion_error = cmd.isset (" throw-assertion-error" );
51
51
threading_support = cmd.isset (" java-threading" );
52
52
53
- if (cmd.isset (" java-max-input-array-length" ))
54
- object_factory_parameters.max_nondet_array_length =
53
+ if (cmd.isset (" java-max-input-array-length" )) // will go away
54
+ {
55
+ object_factory_parameters.max_nondet_array_length =
55
56
std::stoi (cmd.get_value (" java-max-input-array-length" ));
56
- if (cmd.isset (" java-max-input-tree-depth" ))
57
- object_factory_parameters.max_nondet_tree_depth =
57
+ }
58
+ if (cmd.isset (" max-nondet-array-length" ))
59
+ {
60
+ object_factory_parameters.max_nondet_array_length =
61
+ std::stoi (cmd.get_value (" max-nondet-array-length" ));
62
+ }
63
+
64
+ if (cmd.isset (" java-max-input-tree-depth" )) // will go away
65
+ {
66
+ object_factory_parameters.max_nondet_tree_depth =
58
67
std::stoi (cmd.get_value (" java-max-input-tree-depth" ));
59
- if (cmd.isset (" string-max-input-length" ))
60
- object_factory_parameters.max_nondet_string_length =
68
+ }
69
+ if (cmd.isset (" max-nondet-tree-depth" ))
70
+ {
71
+ object_factory_parameters.max_nondet_tree_depth =
72
+ std::stoi (cmd.get_value (" max-nondet-tree-depth" ));
73
+ }
74
+
75
+ if (cmd.isset (" string-max-input-length" )) // will go away
76
+ {
77
+ object_factory_parameters.max_nondet_string_length =
61
78
std::stoi (cmd.get_value (" string-max-input-length" ));
62
- else if (cmd.isset (" string-max-length" ))
79
+ }
80
+ if (cmd.isset (" max-nondet-string-length" ))
81
+ {
63
82
object_factory_parameters.max_nondet_string_length =
64
- std::stoi (cmd.get_value (" string-max-length" ));
83
+ std::stoi (cmd.get_value (" max-nondet-string-length" ));
84
+ }
65
85
66
86
object_factory_parameters.string_printable = cmd.isset (" string-printable" );
67
87
if (cmd.isset (" java-max-vla-length" ))
0 commit comments