[Bug 61601] New: Make Tomcat multi-release JAR aware

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61601] New: Make Tomcat multi-release JAR aware

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61601

            Bug ID: 61601
           Summary: Make Tomcat multi-release JAR aware
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: -----

Created attachment 35406
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35406&action=edit
Java 8 / 9 JAR for testing

The attached JAR file contains an annotated Servlet 4.0 ServletContextListener
with both a Java 8 and Java 9 version. Each version simply outputs the Java
version to stdout.

When deployed on Tomcat 9, the Java 8 listener is reported whether running on
Java 8 or Java 9.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 61601] Make Tomcat multi-release JAR aware

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61601

Mark Thomas <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35406|0                           |1
        is obsolete|                            |

--- Comment #1 from Mark Thomas <[hidden email]> ---
Created attachment 35413
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35413&action=edit
Java 8 / 9 JAR for testing

Updated JAR as the original was missing the necessary Manifest entries.

Fixing this is going to be 'interesting'. Tomcat currently enumerates the JAR
entries as part of the scanning process. The enumeration provided by JarFile is
not version aware. I need to do some more research on possible ways of
filtering this enumeration efficiently.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 61601] Make Tomcat multi-release JAR aware

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61601

Mark Thomas <[hidden email]> changed:

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

--- Comment #2 from Mark Thomas <[hidden email]> ---
Fixed in:
- trunk for 9.0.2 onwards
- 8.5.x for 8.5.24 onwards
- 8.0.x for 8.0.48 onwards
- 7.0.x for 7.0.83 onwards

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