test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/IntJVMOption.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/IntJVMOption.java Fri Nov 6 15:25:58 2015
--- new/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/IntJVMOption.java Fri Nov 6 15:25:58 2015
*** 221,239 ****
--- 221,239 ----
* Add 1 as valid value if min is less than 1 and max is greater than 1
*/
validValues.add("1");
}
! if ((min.compareTo(MAX_4_BYTE_INT_PLUS_ONE) == -1) && (max.compareTo(MAX_4_BYTE_INT_PLUS_ONE) == 1)) {
/*
* Check for overflow when flag is assigned to the
* 4 byte int variable
*/
validValues.add(MAX_4_BYTE_INT_PLUS_ONE.toString());
}
! if ((min.compareTo(MAX_4_BYTE_UNSIGNED_INT_PLUS_ONE) == -1) && (max.compareTo(MAX_4_BYTE_UNSIGNED_INT_PLUS_ONE) == 1)) {
/*
* Check for overflow when flag is assigned to the
* 4 byte unsigned int variable
*/
validValues.add(MAX_4_BYTE_UNSIGNED_INT_PLUS_ONE.toString());
test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/IntJVMOption.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File