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:46:10 UTC

[tomcat] branch 10.1.x updated (423e812dec -> 853ffd0e4a)

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

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


    from 423e812dec Remove unnecessary code
     new 2dd9920868 Update tomcat-embed-core native metadata
     new 853ffd0e4a Update tomcat-embed-el native metadata

The 2 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 +-
 2 files changed, 3 insertions(+), 1 deletion(-)


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


[tomcat] 01/02: 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 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 2dd9920868e97feadf8d64a1d0fe6df5ef38ba8e
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/02: 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 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 853ffd0e4ab01f3b3ffb07a69fe7015781059f71
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