From 77accfcc53c1e00c32848038bd8d3e9f84cb0610 Mon Sep 17 00:00:00 2001 From: Esteban Ginez <175813+eginez@users.noreply.github.com> Date: Fri, 25 Oct 2019 11:15:34 -0700 Subject: [PATCH] Adds DeflateDecoder to native-image.properties of codec-http (#9708) Motivation: DeflateDecoder was found to be needed when building spring examples app with graalvm's native image: https://github.com/spring-projects-experimental/spring-graal-native Modification: Adds extra native-image.properties to code-http package Result: Both: https://github.com/spring-projects-experimental/spring-graal-native/tree/master/spring-graal-native-samples/spring-petclinic-jpa and https://github.com/spring-projects-experimental/spring-graal-native/tree/master/spring-graal-native-samples/webflux-netty Build and run --- .../native-image/io.netty/codec-http/native-image.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-http/src/main/resources/META-INF/native-image/io.netty/codec-http/native-image.properties b/codec-http/src/main/resources/META-INF/native-image/io.netty/codec-http/native-image.properties index 74e2af0842..df761092ae 100644 --- a/codec-http/src/main/resources/META-INF/native-image/io.netty/codec-http/native-image.properties +++ b/codec-http/src/main/resources/META-INF/native-image/io.netty/codec-http/native-image.properties @@ -13,4 +13,4 @@ # under the License. Args = --initialize-at-build-time=io.netty \ - --initialize-at-run-time=io.netty.handler.codec.http.HttpObjectEncoder,io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder + --initialize-at-run-time=io.netty.handler.codec.http.HttpObjectEncoder,io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder,io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder