https://bz.apache.org/bugzilla/show_bug.cgi?id=69877

            Bug ID: 69877
           Summary: Regression in Tomcat 10.1.48: Invalid Windows
                    Classpath Handling Causes Embedded Startup Failure
           Product: Tomcat 10
           Version: 10.1.48
          Hardware: PC
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ------

Created attachment 40125
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=40125&action=edit
stacktrace

After upgrading to tomcat-catalina-10.1.48.jar from 10.1.46, I encountered a
java.lang.IllegalArgumentException: URI is not hierarchical exception (full
stacktrace attached) when starting embedded Tomcat using the
org.apache.catalina.startup.Tomcat.start() method, after setting the class path
with a Windows path (e.g.,
file:D:/github/libs/x64/Debug/java_plug_in/SDK/solutions_sdk.jar).
Upon investigation, I identified the cause as the following change:
https://github.com/apache/tomcat/commit/785ff2c575fc0b10a9b1ceb2ca6f995d76ecf1cf.
This commit altered the method's behavior, resulting in the requirement to
provide an invalid Windows path (e.g., /D:/github...), which introduces a
regression.
Backward compatibility should be maintained, especially in minor version
updates. If such changes are necessary, they should be clearly communicated in
advance.
Therefore, I request that this change be reverted or a fix be provided that
preserves backward compatibility.
Best regards,
Eyal Zelinger

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to