Projects
Eulaceura:Mainline:GA
tomcatjss
_service:obs_scm:0002-keep-deprecated-construct...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0002-keep-deprecated-constructors.patch of Package tomcatjss
From 937a7bf0fd7ddbcbb7d186d1fcd1ab20090e8f43 Mon Sep 17 00:00:00 2001 From: wang--ge <wang__ge@126.com> Date: Tue, 8 Oct 2024 14:05:48 +0800 Subject: [PATCH] keep deprecated constructors --- .../src/main/java/org/apache/tomcat/util/net/jss/TomcatJSS.java | 2 +- .../src/main/java/org/dogtagpki/tomcat/JSSImplementation.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/tomcat/util/net/jss/TomcatJSS.java b/core/src/main/java/org/apache/tomcat/util/net/jss/TomcatJSS.java index 026f3be..4998ad6 100644 --- a/core/src/main/java/org/apache/tomcat/util/net/jss/TomcatJSS.java +++ b/core/src/main/java/org/apache/tomcat/util/net/jss/TomcatJSS.java @@ -438,7 +438,7 @@ public class TomcatJSS implements SSLSocketListener { manager = CryptoManager.getInstance(); - passwordStore = (IPasswordStore) Class.forName(passwordClass).getDeclaredConstructor().newInstance(); + passwordStore = (IPasswordStore) Class.forName(passwordClass).newInstance(); passwordStore.init(passwordFile); login(); diff --git a/tomcat-9.0/src/main/java/org/dogtagpki/tomcat/JSSImplementation.java b/tomcat-9.0/src/main/java/org/dogtagpki/tomcat/JSSImplementation.java index 3a6d8df..80cf388 100644 --- a/tomcat-9.0/src/main/java/org/dogtagpki/tomcat/JSSImplementation.java +++ b/tomcat-9.0/src/main/java/org/dogtagpki/tomcat/JSSImplementation.java @@ -41,7 +41,7 @@ public class JSSImplementation extends SSLImplementation { @Override public SSLSupport getSSLSupport(SSLSession session) { logger.debug("JSSImplementation.getSSLSupport()"); - return new JSSESupport(session, null); + return new JSSESupport(session); } @Override -- 2.46.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2