There are 99 uses of FLAG_SET_ERGO in 12 files, should they check the return value like FLAG_SET_CMDLINE?
The initial assumption was that FLAG_SET_ERGO users know what they are doing, but there are bugs. Should we check the return value and assert if range/constraint is invalidated?
The initial assumption was that FLAG_SET_ERGO users know what they are doing, but there are bugs. Should we check the return value and assert if range/constraint is invalidated?
- duplicates
-
JDK-8224980 FLAG_SET_ERGO silently ignores invalid values
-
- Resolved
-
- relates to
-
JDK-8078556 Runtime: implement ranges (optionally constraints) for those flags that have them missing
-
- Resolved
-
-
JDK-8224980 FLAG_SET_ERGO silently ignores invalid values
-
- Resolved
-
-
JDK-8059557 JEP 245: Validate JVM Command-Line Flag Arguments
-
- Closed
-