Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b17
Description
Provide a means by which the string key/value pairs in a Properties object can be stored in a canonical form that is independent of time or any other host-, system-, or implementation-dependent detail.
This could be as simple as a Properties::storeCanonical method that would write the entries in key-name order, preceded by an optional user-supplied comment, but not including a comment with the date.
This would be useful for, among other things, reproducible builds.
This could be as simple as a Properties::storeCanonical method that would write the entries in key-name order, preceded by an optional user-supplied comment, but not including a comment with the date.
This would be useful for, among other things, reproducible builds.
Attachments
Issue Links
- csr for
-
JDK-8273727 (prop) Canonical property storage
- Closed
- relates to
-
JDK-4760110 java.util.Properties#load and #store JavaDoc is incorrect
- Resolved
-
JDK-8272157 java.util.Properties.store() fails under the SecurityManager on Debian Linux
- Open
-
JDK-8282023 PropertiesStoreTest and StoreReproducibilityTest jtreg failures due to en_CA locale
- Closed
-
JDK-8273564 (props) add overload of store() that doesn't add any comments
- Open
(2 links to)