You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/11/08 11:51:56 UTC

[tomcat] branch main updated (9d4c579238 -> be23ed3897)

This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


    from 9d4c579238 Remove unnecessary code
     new bfc5243c15 Update tomcat-embed-core native metadata
     new 035abb846e Update tomcat-embed-el native metadata
     new be23ed3897 Update changelog

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 res/graal/tomcat-embed-core/native-image/tomcat-reflection.json | 2 ++
 res/graal/tomcat-embed-el/native-image/tomcat-resource.json     | 2 +-
 webapps/docs/changelog.xml                                      | 5 +++++
 3 files changed, 8 insertions(+), 1 deletion(-)


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


[tomcat] 03/03: Update changelog

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit be23ed38972700125fa3122c68bf51cdded78a98
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Nov 8 11:49:22 2022 +0000

    Update changelog
---
 webapps/docs/changelog.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index fae235b53d..22c06cb070 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -206,6 +206,11 @@
       <add>
         Improvements to Spanish translations. (markt)
       </add>
+      <fix>
+        Correct a regression in the removal of the APR connector that broke
+        Graal native image support. Pull request <pr>564</pr> provided by
+        Sébastien Deleuze. (markt)
+      </fix>
     </changelog>
   </subsection>
 </section>


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


[tomcat] 01/03: Update tomcat-embed-core native metadata

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit bfc5243c152ce16c3acc97efd2864f116cc4ba1c
Author: Sébastien Deleuze <sd...@vmware.com>
AuthorDate: Tue Nov 8 11:38:33 2022 +0100

    Update tomcat-embed-core native metadata
    
    In Tomcat 10.0, reflection metadata on Http11AprProtocol were
    registering metadata on AbstractProtocol as a side effect.
    
    Tomcat 10.1 removed this protocol and related metadata, breaking
    setting and getting properties set reflectively on protocols from
    org.apache.catalina.connector.Connector.
    
    This commit contributes reflection metadata for those properties.
---
 res/graal/tomcat-embed-core/native-image/tomcat-reflection.json | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json b/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json
index 66ad019304..31f01ed8f3 100644
--- a/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json
+++ b/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json
@@ -40,6 +40,8 @@
 { "name":"org.apache.catalina.loader.ParallelWebappClassLoader", "allDeclaredConstructors" : true, "allPublicConstructors" : true, "allDeclaredMethods" : true, "allPublicMethods" : true},
 { "name":"org.apache.catalina.servlets.DefaultServlet", "allDeclaredFields":true, "allDeclaredMethods":true },
 { "name":"org.apache.catalina.valves.ErrorReportValve", "methods" : [{"name": "<init>","parameterTypes":[]}] },
+{ "name":"org.apache.coyote.AbstractProtocol", "methods": [{"name": "getLocalPort","parameterTypes": []},{"name": "getPort","parameterTypes": []}, {"name": "setPortOffset","parameterTypes": ["int"]}, {"name": "getPortOffset","parameterTypes": []}, {"name": "setPort","parameterTypes": ["int"]}]},
+{ "name":"org.apache.coyote.http11.AbstractHttp11Protocol", "methods": [{"name": "setSecure","parameterTypes": ["boolean"]}, {"name": "setMaxSavePostSize","parameterTypes": ["int"]}]},
 { "name":"org.apache.coyote.http11.Http11NioProtocol", "methods" : [{"name": "<init>","parameterTypes":[]}] },
 { "name":"org.apache.coyote.http11.Http11Nio2Protocol", "methods" : [{"name": "<init>","parameterTypes":[]}] },
 { "name":"org.apache.coyote.UpgradeProtocol" },


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


[tomcat] 02/03: Update tomcat-embed-el native metadata

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 035abb846e5374c59d9b637e7f663d89c63936ce
Author: Sébastien Deleuze <sd...@vmware.com>
AuthorDate: Tue Nov 8 11:41:17 2022 +0100

    Update tomcat-embed-el native metadata
    
    In a37f7a11a1b644c4e9e965da730824ea656d3a3a org.apache.el.Messages
    has been renamed to org.apache.el.LocalStrings.
    
    This commit updates the native metadata accordingly.
---
 res/graal/tomcat-embed-el/native-image/tomcat-resource.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/res/graal/tomcat-embed-el/native-image/tomcat-resource.json b/res/graal/tomcat-embed-el/native-image/tomcat-resource.json
index 55b2fb3490..82e41a96f0 100644
--- a/res/graal/tomcat-embed-el/native-image/tomcat-resource.json
+++ b/res/graal/tomcat-embed-el/native-image/tomcat-resource.json
@@ -1,7 +1,7 @@
 {
   "bundles":[
     {"name":"jakarta.el.LocalStrings"},
-    {"name":"org.apache.el.Messages"}
+    {"name":"org.apache.el.LocalStrings"}
   ],
   "resources":[
     {"pattern":".*/mbeans-descriptors.xml$"},


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