Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8367453

Descriptions of system property values related to versions could be improved in the j.l.System.getProperties specification

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • core-libs
    • None

      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()

            Unassigned Unassigned
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: