You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ollierob (via GitHub)" <gi...@apache.org> on 2025/10/03 09:31:31 UTC

Re: [I] Maven does not correctly resolve Windows mapped network drives with Java 25 [maven]

ollierob commented on issue #11167:
URL: https://github.com/apache/maven/issues/11167#issuecomment-3364960947

   Run `mvnDebug` with 3.9.x branch checked out. The issue seems to be with `FileModelSource.getRelatedSource` where this part becomes malformed:
   ```java
   new File(relatedPom.toURI().normalize())
   ```
   with inputs
   ```java
   relPath => "..\pom.xml"
   getFile() => \\colo-01-fs02\developers$\ollie\work\html-uis\konsolidator\protos\pom.xml
   relatedPom => \\colo-01-fs02\developers$\ollie\work\html-uis\konsolidator\protos\..\pom.xml
   relatedPom.toURI() =>file:////colo-01-fs02/developers$/orobertshaw/work/html-uis/konsolidator/protos/../pom.xml
   relatedPom.toURI().normalize() => file:/colo-01-fs02/developers$/orobertshaw/work/html-uis/konsolidator/pom.xml
   ```
   Would it be safe to say this is a JDK 25 URI normalization bug?


-- 
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-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org