ascheman commented on PR #11632:
URL: https://github.com/apache/maven/pull/11632#issuecomment-3746615419

   Re: 
[toRealPath()](https://github.com/apache/maven/pull/11632#discussion_r2678595085)
   
   Used `.toAbsolutePath().normalize()` instead in commit 63d43d5154. 
   
   `toRealPath()` requires the file to exist on the filesystem and throws 
IOException if it doesn't, which would break duplicate detection for source 
directories that don't exist yet. The `normalize()` approach handles relative 
paths and `..` components without requiring filesystem access.


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