thijsrijpert commented on PR #244:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/244#issuecomment-2141522932

   From JIRA issue:
   
   Due to a combination of plugins, it is possible for the 
project.build.outputTimestamp property to have an empty string as a value. This 
causes an IndexOutOfBoundsException on line 1242 when it tries to access the 
first character in the string.
   
   This can be fixed by doing an isEmpty check before doing the charAt check. I 
will create an PR for this.
   
   While this bug is caused by another plugin, I think this should be fixed in 
the compiler because the error returned (IndexOutOfBoundsException), is vague 
and hard to debug.
   
   The workaround for this issue is setting the project.build.outputTimestamp 
property with an arbitrary value.


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

Reply via email to