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