Skip to content

Native metadata update for Tomcat 10.1#564

Merged
markt-asf merged 2 commits into
apache:10.1.xfrom
sdeleuze:native-metadata-update-10.1
Nov 8, 2022
Merged

Native metadata update for Tomcat 10.1#564
markt-asf merged 2 commits into
apache:10.1.xfrom
sdeleuze:native-metadata-update-10.1

Conversation

@sdeleuze

@sdeleuze sdeleuze commented Nov 8, 2022

Copy link
Copy Markdown
Contributor

This pull request fixes regressions in the Tomcat 10.1 native support compared to Tomcat 10.0.

It brings back required reflection metadata on AbstractProtocol and AbstractHttp11Protocol lost after Http11AprProtocol removal, and rename resource metadata from org.apache.el.Messages to org.apache.el.LocalStrings.

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.
In a37f7a1 org.apache.el.Messages
has been renamed to org.apache.el.LocalStrings.

This commit updates the native metadata accordingly.
@markt-asf markt-asf merged commit 853ffd0 into apache:10.1.x Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants