From eef15f2661b9030dbf3c634d3301dfa4d697a2f2 Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Thu, 5 Jan 2023 13:20:39 -0800 Subject: [PATCH] Upgrade jersey to 3.0.9 --- dependencies/pom.xml | 4 ++-- .../jersey/HelidonHK2InjectionManagerFactory.java | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/dependencies/pom.xml b/dependencies/pom.xml index f1453f2cf5d..be6b0c459fc 100644 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -1,7 +1,7 @@ 3.0.2 3.6.3 - 3.0.8 + 3.0.9 5.11.1.202105131744-r 2.0.1 5.7.0 diff --git a/webserver/jersey/src/main/java/io/helidon/webserver/jersey/HelidonHK2InjectionManagerFactory.java b/webserver/jersey/src/main/java/io/helidon/webserver/jersey/HelidonHK2InjectionManagerFactory.java index 35f92512deb..8dec79eb9a0 100644 --- a/webserver/jersey/src/main/java/io/helidon/webserver/jersey/HelidonHK2InjectionManagerFactory.java +++ b/webserver/jersey/src/main/java/io/helidon/webserver/jersey/HelidonHK2InjectionManagerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, 2022 Oracle and/or its affiliates. + * Copyright (c) 2021, 2023 Oracle and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -114,6 +114,11 @@ public void shutdown() { forApplication.shutdown(); } + @Override + public boolean isShutdown() { + return shared.isShutdown() && forApplication.isShutdown(); + } + /** * Registers classes returned by {@code getClasses} in {@code forApplication} and * all other classes in {@code shared}. This is done to keep separation between @@ -352,6 +357,11 @@ public void shutdown() { throw new UnsupportedOperationException("Not supported"); } + @Override + public boolean isShutdown() { + throw new UnsupportedOperationException("Not supported"); + } + @Override public void register(Binding binding) { throw new UnsupportedOperationException("Not supported");