From 048f50ac91fa82832c45a3d7ba4b471f4b698258 Mon Sep 17 00:00:00 2001 From: gregw Date: Tue, 12 Mar 2024 23:04:46 +0100 Subject: [PATCH] Restored removed constructor Fix #11509 by restoring removed constructor as deprecated --- .../src/main/java/org/eclipse/jetty/http/CookieCache.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCache.java b/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCache.java index 5e6c34961b62..540023cd1c1c 100644 --- a/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCache.java +++ b/jetty-core/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCache.java @@ -49,6 +49,12 @@ public CookieCache(CookieCompliance compliance) _parser = CookieParser.newParser(this, compliance, this); } + @Deprecated(forRemoval = true) + public CookieCache(CookieCompliance compliance, ComplianceViolation.Listener complianceListener) + { + this(compliance); + } + @Override public void onComplianceViolation(ComplianceViolation.Event event) {