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 2020/12/10 17:04:35 UTC

[tomcat-native] branch master updated: Need to deprecate the examples as well

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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git


The following commit(s) were added to refs/heads/master by this push:
     new 74acf43  Need to deprecate the examples as well
74acf43 is described below

commit 74acf43d608504a7f0cf51181977bc277fed3607
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Dec 10 17:04:18 2020 +0000

    Need to deprecate the examples as well
---
 examples/org/apache/tomcat/jni/Echo.java        | 10 ++++++++--
 examples/org/apache/tomcat/jni/LocalServer.java | 10 ++++++++--
 examples/org/apache/tomcat/jni/SSLServer.java   | 10 ++++++++--
 3 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/examples/org/apache/tomcat/jni/Echo.java b/examples/org/apache/tomcat/jni/Echo.java
index 1c84d31..0a49608 100644
--- a/examples/org/apache/tomcat/jni/Echo.java
+++ b/examples/org/apache/tomcat/jni/Echo.java
@@ -20,9 +20,15 @@ package org.apache.tomcat.jni;
 import java.io.InputStream;
 import java.util.Properties;
 
-/** Echo server example
+/**
+ * Echo server example
+ *
+ * @deprecated  The scope of the APR/Native Library will be reduced in Tomcat
+ *              10.1.x / Tomcat Native 2.x onwards to only include those
+ *              components required to provide OpenSSL integration with the NIO
+ *              and NIO2 connectors.
  */
-
+@Deprecated
 public class Echo {
 
     public static String echoEcho = null;
diff --git a/examples/org/apache/tomcat/jni/LocalServer.java b/examples/org/apache/tomcat/jni/LocalServer.java
index ec84993..eb2bf4e 100644
--- a/examples/org/apache/tomcat/jni/LocalServer.java
+++ b/examples/org/apache/tomcat/jni/LocalServer.java
@@ -19,9 +19,15 @@ package org.apache.tomcat.jni;
 import java.io.InputStream;
 import java.util.Properties;
 
-/** Local Socket server example
+/**
+ * Local Socket server example
+ *
+ * @deprecated  The scope of the APR/Native Library will be reduced in Tomcat
+ *              10.1.x / Tomcat Native 2.x onwards to only include those
+ *              components required to provide OpenSSL integration with the NIO
+ *              and NIO2 connectors.
  */
-
+@Deprecated
 public class LocalServer {
 
     public static String serverAddr = null;
diff --git a/examples/org/apache/tomcat/jni/SSLServer.java b/examples/org/apache/tomcat/jni/SSLServer.java
index cb91f1c..677a744 100644
--- a/examples/org/apache/tomcat/jni/SSLServer.java
+++ b/examples/org/apache/tomcat/jni/SSLServer.java
@@ -19,9 +19,15 @@ package org.apache.tomcat.jni;
 import java.io.InputStream;
 import java.util.Properties;
 
-/** SSL Server server example
+/**
+ * SSL Server server example
+ *
+ * @deprecated  The scope of the APR/Native Library will be reduced in Tomcat
+ *              10.1.x / Tomcat Native 2.x onwards to only include those
+ *              components required to provide OpenSSL integration with the NIO
+ *              and NIO2 connectors.
  */
-
+@Deprecated
 public class SSLServer {
 
     public static String serverAddr = null;


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