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

remm 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 c765654025 Revert for now (wrong location)
c765654025 is described below

commit c76565402509566ddb3d4405bd5328396100241b
Author: remm <r...@apache.org>
AuthorDate: Thu Apr 6 15:31:54 2023 +0200

    Revert for now (wrong location)
---
 java/org/apache/catalina/core/StandardServer.java | 5 -----
 webapps/docs/changelog.xml                        | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/java/org/apache/catalina/core/StandardServer.java 
b/java/org/apache/catalina/core/StandardServer.java
index 720c639380..eb5e91e932 100644
--- a/java/org/apache/catalina/core/StandardServer.java
+++ b/java/org/apache/catalina/core/StandardServer.java
@@ -980,11 +980,6 @@ public final class StandardServer extends 
LifecycleMBeanBase implements Server {
         reconfigureUtilityExecutor(getUtilityThreadsInternal(utilityThreads));
         register(utilityExecutor, "type=UtilityExecutor");
 
-        // Initialize random generation of the JVM, as some platforms use
-        // a thread which could end up being associated with a webapp rather
-        // than the container.
-        (new Random()).nextInt();
-
         // Register global String cache
         // Note although the cache is global, if there are multiple Servers
         // present in the JVM (may happen when embedding) then the same cache
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 111b9c4427..3094946c56 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -184,11 +184,6 @@
         <bug>66543</bug>: Give 
<code>StandardContext#fireRequestDestroyEvent</code>
          its own log message. (fschumacher)
       </fix>
-      <fix>
-        <bug>66554</bug>: Initialize Random during server initialization to
-        avoid possible JVM thread creation in the webapp context on some
-        platforms. (remm)
-      </fix>
     </changelog>
   </subsection>
   <subsection name="Coyote">


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

Reply via email to