On Fri, 5 Nov 2021 20:46:42 GMT, Alan Bateman <[email protected]> wrote:
>> Joe Wang has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Exception: changed from XPathFactoryConfigurationException to
>> IllegalArgumentException
>
> src/java.xml/share/classes/javax/xml/xpath/XPathFactory.java line 425:
>
>> 423: }
>> 424: throw new UnsupportedOperationException("not implemented");
>> 425: }
>
> Changing it to throw IAE looks much better. You can drop "throws
> IllegalArgumentException" from the method signature as it's a runtime
> exception.
IAE dropped from the method signature.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6215