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 2017/10/09 16:53:41 UTC

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

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: dev@tomcat.apache.org
          Reporter: markt@apache.org
  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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61601] Make Tomcat multi-release JAR aware

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

Behrooz Nobakht <no...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |66195


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=66195
[Bug 66195] Observe multi-release JAR property from JVM available via system
properties
-- 
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 61601] Make Tomcat multi-release JAR aware

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

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

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

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61601] Make Tomcat multi-release JAR aware

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

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

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 61601] Make Tomcat multi-release JAR aware

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

Behrooz Nobakht <no...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nobeh5@gmail.com

-- 
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