RFR: 8303530: Add system property for custom JAXP configuration file [v2]

Alan Bateman alanb at openjdk.org
Mon Mar 13 10:14:12 UTC 2023


On Sat, 11 Mar 2023 05:34:39 GMT, Joe Wang <joehw at openjdk.org> wrote:

>> Add a system property, jdk.xml.config.file, to return the path to a custom JAXP configuration file. The current configuration file, jaxp.properties, that the JDK supports will become the default configuration file.
>> 
>> CSR: https://bugs.openjdk.org/browse/JDK-8303531
>> 
>> Tests: XML SQE and JCK tests passed.
>
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   clean up tests; fix copy&paste error.

src/java.xml/share/classes/module-info.java line 31:

> 29:  *
> 30:  * <h2 id="ConfigurationFile">Configuration File</h2>
> 31:  * The java.xml (JAXP) Configuration File is used for configuring factories in the

The first sentence of the module description defines "JAXP" as the abbreviation for "Java API for XML Processing" so the usage looks a bit strange. Maybe the introduction to this section should say that the XML processing APIs in this module allow a configuration file the XML processors.

-------------

PR: https://git.openjdk.org/jdk/pull/12985


More information about the core-libs-dev mailing list