From c3bfae3140a352bd5440789047e692916cb53dcd Mon Sep 17 00:00:00 2001 From: Jorge Bescos Gascon Date: Fri, 8 Dec 2023 07:01:53 +0100 Subject: [PATCH] TCK Challenge: ee.jakarta.tck.ws.rs.ee.rs.container.responsecontext.JAXRSClientIT#setStatusInfoTest and #setStatusTest #1199 Signed-off-by: Jorge Bescos Gascon --- .../ws/rs/ee/rs/container/responsecontext/ResponseFilter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/responsecontext/ResponseFilter.java b/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/responsecontext/ResponseFilter.java index 44f6ce1a4..0bf416f1b 100644 --- a/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/responsecontext/ResponseFilter.java +++ b/jaxrs-tck/src/main/java/ee/jakarta/tck/ws/rs/ee/rs/container/responsecontext/ResponseFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2023 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -362,6 +362,7 @@ public Family getFamily() { private void resetStatusEntity(int status) { switch (status) { case 204: + case 304: case 205: responseContext.setEntity(null); break;