Pankraz76 commented on code in PR #2290: URL: https://github.com/apache/maven/pull/2290#discussion_r2072009172
########## impl/maven-impl/src/test/java/org/apache/maven/impl/DefaultModelXmlFactoryTest.java: ########## @@ -105,7 +105,7 @@ void testNoNamespaceWithModelVersion400() throws Exception { @Test void testNullRequest() { - assertThrows(IllegalArgumentException.class, () -> factory.read((XmlReaderRequest) null)); + assertThrows(NullPointerException.class, () -> factory.read((XmlReaderRequest) null)); Review Comment: does this impact others or it this just an impl. detail? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org