slachiewicz opened a new pull request, #1377:
URL: https://github.com/apache/maven-javadoc-plugin/pull/1377

   Fixes #1376. An empty `release`, which Maven injects for a declared but 
blank `maven.compiler.release`, passed every `release != null` check and 
crashed in `getDefaultJavadocApiLink`. The four sites now use one helper that 
treats a blank value as unset, matching what maven-compiler-plugin does, so 
`source` applies instead.
   
   Verified: 
`AbstractJavadocMojoTest.emptyReleaseFallsBackToSourceForTheApiLink` fails on 
master with `StringIndexOutOfBoundsException` and passes with the fix. `mvn 
verify` → 71 tests, 0 failures. Integration tests not run.
   
   *This change was created with AI assistance.*


-- 
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]

Reply via email to