On Thu, 20 Feb 2025 17:32:06 GMT, Joe Wang <jo...@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. > > Yes, that would do. Thanks @JoeWang-Java for the suggestion and review. ------------- PR Comment: https://git.openjdk.org/jdk/pull/23627#issuecomment-2675975261