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
The following commit(s) were added to refs/heads/main by this push: new 4547ab2d9d Deprecated unused attribute. 4547ab2d9d is described below commit 4547ab2d9d99de8119232bf2d55801ac8cb92ed9 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jun 16 19:48:10 2022 +0100 Deprecated unused attribute. --- java/org/apache/catalina/core/StandardContext.java | 18 ++++++++++++++++++ java/org/apache/catalina/core/mbeans-descriptors.xml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java index f5e7fb5c72..e66b285f51 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -6391,10 +6391,28 @@ public class StandardContext extends ContainerBase return this.server=server; } + /** + * Unused. + * + * @return The current array. + * + * @deprecated Unused. Will be removed in Tomcat 10.1. + */ + @Deprecated public String[] getJavaVMs() { return javaVMs; } + /** + * Unused. + * + * @param javaVMs The new value for the array. + * + * @return The new value for the array. + * + * @deprecated Unused. Will be removed in Tomcat 10.1. + */ + @Deprecated public String[] setJavaVMs(String[] javaVMs) { return this.javaVMs = javaVMs; } diff --git a/java/org/apache/catalina/core/mbeans-descriptors.xml b/java/org/apache/catalina/core/mbeans-descriptors.xml index a86207780f..c97efe1df5 100644 --- a/java/org/apache/catalina/core/mbeans-descriptors.xml +++ b/java/org/apache/catalina/core/mbeans-descriptors.xml @@ -156,7 +156,7 @@ type="org.apache.tomcat.InstanceManager" /> <attribute name="javaVMs" - description="The Java virtual machines on which this module is running" + description="Deprecated. Will be removed in Tomact 10.1. The Java virtual machines on which this module is running" type="[Ljava.lang.String;"/> <attribute name="loader" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org