RFR: 8276141: XPathFactory set/getProperty method [v7]

Alan Bateman alanb at openjdk.java.net
Tue Nov 9 19:37:41 UTC 2021


On Tue, 9 Nov 2021 06:31:06 GMT, Joe Wang <joehw at openjdk.org> wrote:

>> Add setProperty/getProperty methods to the XPath API so that properties can be supported in the future.
>
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   javadoc clarification for setFeature and setProperty

src/java.xml/share/classes/javax/xml/xpath/XPathFactory.java line 377:

> 375:      * Sets a property for this {@code XPathFactory}. A property set on the
> 376:      * factory is effective to the {@code XPath} object created thereafter, but
> 377:      * not ones that may have been created beforehand.

It might be clear to say something like "The property has no impact on XPath object that are already created".

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

PR: https://git.openjdk.java.net/jdk/pull/6215


More information about the core-libs-dev mailing list