LuciferYang commented on PR #37:
URL: https://github.com/apache/geronimo-xbean/pull/37#issuecomment-1486450095

   
https://github.com/apache/geronimo-xbean/blob/e40b760ffe7e36a50c5a524395e84fffc46f07aa/xbean-finder/src/main/java/org/apache/xbean/finder/archive/JarArchive.java#L50-L97
   
   I debugged it in the IDE:
   
   - the input `url` is is 
`http:ftp:jar:file:/var/folders/2w/_w3fqbdn7pl8n4z2q6p6zcj80000gn/T/junit4968398954648027522/!JarArchiveTest!-temp!/path%20with%20spaces3076564641612120974.jar!/`
   - `url.getProtocol()` is `http`, so the process entered the `else branch on 
line 93` and threw `IllegalArgumentException`, the error message is `Please 
provide 'file:/...' or 'jar:file:/...!/' URL instead of 
'http:ftp:jar:file:/var/folders/2w/_w3fqbdn7pl8n4z2q6p6zcj80000gn/T/junit4968398954648027522/!JarArchiveTest!-temp!/path
 with spaces3076564641612120974.jar!/'`
   


-- 
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: dev-unsubscr...@geronimo.apache.org

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

Reply via email to