JDK-8042889 : (props) Properties.loadFromXML/storeToXML should consistently use the UKit parser
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-05-10
  • Updated: 2021-10-31
  • Resolved: 2014-05-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b14Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8175225 :  
Description
In JDK 8, we introduced a JDK-internal service provider to allow the implementation of Properties.loadFromXML and storeToXML use alternative XML parsers.

JDK 8 builds use a service provider implementation based on JAXP. Builds of the compact1 profile (which doesn't define any XML APIs) use the small UKit parser.

This bug is submitted to continue this effort and to change Properties to consistently use the UKit parser. A concern when we originally brought in the UKit parser is that test coverage in this area was weak, and additionally the Properties specification wasn't clear on the encodings that the implementation is required to support. The Java SE API specification was clarified via JDK-8000685 to only require an implementation to support UTF-8 and UTF-16. Furthermore a lot of tests have been developed that improves our confidence about moving to the UKit parser.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/97487e77f598 User: lana Date: 2014-05-21 18:41:42 +0000
21-05-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/97487e77f598 User: alanb Date: 2014-05-13 10:17:27 +0000
13-05-2014