git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@946677
13f79535-47bb-0310-9956-
ffa450edef68
protected static boolean sslAvailable = false;
protected static boolean aprAvailable = false;
- protected static String lock = "";
+ protected static Object lock = new Object();
public static boolean isAprAvailable() {
//https://issues.apache.org/bugzilla/show_bug.cgi?id=48613
if (initialized)
return;
if (!AprLifecycleListener.isAprAvailable()) {
- throw new Exception(sm.getString("endpoint.init.notavail");
+ throw new Exception(sm.getString("endpoint.init.notavail"));
}
// Create the root APR memory pool