Discussion: Interpretation of system property flags
Eirik Bjørsnøs
eirbjo at gmail.com
Wed Dec 4 17:57:29 UTC 2024
>
> There are at least three issues at play here:
>
> a: Some flags use inconsistent, confusing, controversial or
> less-than-perfect interpretations
> b: Some flags use identical interpretations, yet their evaluation happens
> in copy-pasted code spread across the code base
> c: Some flags use identical interpretations, yet the code written to
> evaluate that interpretation varies a lot across the code base
>
Let me add:
d: Maintainers introducing new flags lack guidance for picking a "good"
flag interpretation
e: Maintainers introducing new flags must write new code to read the
property value and reduce the following to a boolean: [null | empty |
"true" | "TRUE" | "false" | "FALSE" | "unrelated"]
Eirik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241204/421b53a1/attachment.htm>
More information about the core-libs-dev
mailing list