This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 803fc20 Make it possible to use Http11Nio2Protocol in GraalVM native image 803fc20 is described below commit 803fc20b615fec5f1e269ee04b6a08bd3098abee Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org> AuthorDate: Wed Oct 21 10:19:44 2020 +0300 Make it possible to use Http11Nio2Protocol in GraalVM native image (cherry picked from commit 6f934c7f6e204321f5add7e66a37036f00f80075) --- res/graal/tomcat-embed-core/native-image/tomcat-reflection.json | 1 + webapps/docs/changelog.xml | 4 ++++ 2 files changed, 5 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 f4d6560..fefe562 100644 --- a/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json +++ b/res/graal/tomcat-embed-core/native-image/tomcat-reflection.json @@ -41,6 +41,7 @@ { "name":"org.apache.catalina.servlets.DefaultServlet", "allDeclaredFields":true, "allDeclaredMethods":true }, { "name":"org.apache.catalina.valves.ErrorReportValve", "methods" : [{"name": "<init>","parameterTypes":[]}] }, { "name":"org.apache.coyote.http11.Http11NioProtocol", "methods" : [{"name": "<init>","parameterTypes":[]}] }, +{ "name":"org.apache.coyote.http11.Http11Nio2Protocol", "methods" : [{"name": "<init>","parameterTypes":[]}] }, { "name":"org.apache.coyote.http11.Http11AprProtocol", "allDeclaredConstructors" : true, "allPublicConstructors" : true, "allDeclaredMethods" : true, "allPublicMethods" : true}, { "name":"org.apache.coyote.UpgradeProtocol" }, { "name":"org.apache.coyote.Request", "methods":[{"name":"<init>","parameterTypes":[] }] }, diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 85220d4..4bf0caf 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -70,6 +70,10 @@ since <a href="https://github.com/apache/tomcat/commit/3815b4951eb3acd30a0b77aafa75fbdb928d5782"> Fix unwanted JPMS dependency of embed-core on embed-jasper</a>. (mgrigorov) </fix> + <fix> + Add org.apache.coyote.http11.Http11Nio2Protocol to the list of classes which could be instantiated + via reflection in GraalVM. (mgrigorov) + </fix> <add> Add <code>JsonErrorReportValve</code> that extends the <code>ErrorReportValve</code> that returns response as JSON instead of --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org