The key/value table in the specification of java.lang.System.getProperties [1] currently uses phrases such as “may be interpreted as a Runtime.Version” and “may be interpreted as a LocalDate”. These phrases are intended to mean that Runtime.Version could be used to parse the version string, or LocalDate could be used to parse the date string.
To improve clarity for readers, for example, “may be interpreted as a Runtime.Version” could be revised to a more direct “must be representable as a Runtime.Version". Likewise, the phrase “may be interpreted as a LocalDate” might possibly be made more straightforward.
[1] https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/System.html#getProperties()
To improve clarity for readers, for example, “may be interpreted as a Runtime.Version” could be revised to a more direct “must be representable as a Runtime.Version". Likewise, the phrase “may be interpreted as a LocalDate” might possibly be made more straightforward.
[1] https://download.java.net/java/early_access/jdk25/docs/api/java.base/java/lang/System.html#getProperties()
- relates to
-
JDK-8144062 Move jdk.Version to java.lang.Runtime.Version
-
- Closed
-