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

Alan Bateman alanb at openjdk.org
Mon Mar 13 10:06:57 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/javax/xml/catalog/CatalogFeatures.java line 183:

> 181:  * <a href="../../../module-summary.html#ConfigurationFile">configuration file</a>.
> 182:  * In case of multiple interfaces, the latest in a procedure shall take preference.
> 183:  * For {@link Feature#FILES}, this means that the URI(s) specified through the methods

"multiple interfaces" and "the latest in a procedure" aren't very clear here. If the setup for this section documents the precedence order more clearly then it will make it easier to word this section.

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

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


More information about the core-libs-dev mailing list