gnodet commented on PR #1136: URL: https://github.com/apache/maven-compiler-plugin/pull/1136#issuecomment-5871046496
Fixed CI failure: added `assertCompilerStubOutputFileExists(compileMojo)` at the end of the new test. The `CompilerStub` creates an empty (0-byte) `compiled.class` file in the output directory during the test. The `dependency:analyze` phase then scans `target/test-classes` recursively and trips on that file with an `ArrayIndexOutOfBoundsException` in ASM (which cannot read an empty class file). All other tests using the stub already call `assertCompilerStubOutputFileExists()`, which both asserts the file exists and deletes it — the Javadoc even mentions this exact issue. The new test was the only one missing that cleanup call. Fixed in 667a164. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
