markt-asf commented on PR #737: URL: https://github.com/apache/tomcat/pull/737#issuecomment-2205441036
That the threads have different context class loaders doesn't explain the behaviour you are seeing. As per section 8.4.3.6 of the JLS, there is a single monitor for both methods. Classes are uniquely defined by name and class loader so it is possible you have two classes named `org.apache.tomcat.jdbc.pool.ConnectionPool` loaded but that wouldn't explain the behaviour you are seeing since each has its own static fields. What is required to progress this is a minimal test case that reproduces the issue. Ideally, this would be as an addition to the existing JDBC Pool test cases. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org