You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/10/05 18:51:34 UTC

[Bug 55630] New: clean way to avoid setURLStreamHandlerFactory call

https://issues.apache.org/bugzilla/show_bug.cgi?id=55630

            Bug ID: 55630
           Summary: clean way to avoid setURLStreamHandlerFactory call
           Product: Tomcat 7
           Version: 7.0.42
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: gael.lalire@laposte.net

A current method is to set WebappLoader.first via reflection (because private).

I think the setURLStreamHandlerFactory should be move to Catalina.start
('first' static field can be move in Catalina).
So we could have a static method in Catalina to prevent
setURLStreamHandlerFactory call while first starting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55630] clean way to avoid setURLStreamHandlerFactory call

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55630

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Catalina
            Version|7.0.42                      |trunk
            Product|Tomcat 7                    |Tomcat 8
   Target Milestone|---                         |----

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This isn't going to be changed for 7.0.x or 6.0.x but we should consider it for
8.0.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 55630] clean way to avoid setURLStreamHandlerFactory call

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55630

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
As of Tomcat 8, TomcatURLStreamHandlerFactory.disable() will disable Tomcat's
custom URLStreamHandlerFactory. If this is disabled, access to resources in
JARs in packed WARs will break unless the WarURLStreamHandler is registered via
other means.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org