This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new e10494fdc4 Deprecated unused attribute. e10494fdc4 is described below commit e10494fdc4f4d2d359d534a302184b5a19767013 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 a12ed93e98..fa429303c0 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -6407,10 +6407,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 6fa6a85a02..77f642664f 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