Integrated: 8349959: Test CR6740048.java passes unexpectedly missing CR6740048.xsd

SendaoYan syan at openjdk.org
Sat Feb 22 03:13:57 UTC 2025


On Fri, 14 Feb 2025 07:44:26 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test test/jaxp/javax/xml/jaxp/unittest/validation/CR6740048.java run passes unexpectedly when missing the depentdent file test/jaxp/javax/xml/jaxp/unittest/validation/CR6740048.xsd. This PR add a NULL check after call `getResourceAsStream("CR6740048.xsd")`.
> 
> This PR do not change the original test logic but make test more robustness. Change has been verified locally, test-fix only, no risk.

This pull request has now been integrated.

Changeset: 5cbd9d1f
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5cbd9d1fe19b6d9516233cd1ed8d3ba340b7a1e6
Stats:     6 lines in 1 file changed: 0 ins; 2 del; 4 mod

8349959: Test CR6740048.java passes unexpectedly missing CR6740048.xsd

Reviewed-by: joehw

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

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


More information about the core-libs-dev mailing list