From df778f9656254ce7febb8f8a04c248d2a0369623 Mon Sep 17 00:00:00 2001 From: Bret McGuire Date: Fri, 23 Jul 2021 00:26:50 -0500 Subject: [PATCH] Revert "Revert "We can remove NioSocketChannel at least... possibly others as well. These were likely required in previous versions of"" This reverts commit 3cdf5fee367c863df86b6a4f734cd48bc65a610f. Hmmm, a revert of a revert.. those are always tasty. Original revert was motivated by the appearance of https://github.com/oracle/helidon/pull/1722 in the Helidon test case. Thing is this can't be reproduced in non-Helidon contexts with the same GraalVM version. And it's definitely the case that a no-arg constructor is present (see https://github.com/netty/netty/blob/netty-4.1.60.Final/transport/src/main/java/io/netty/channel/socket/nio/NioSocketChannel.java). So... this looks to be something unique to Helidon. --- .../com.datastax.oss/java-driver-core/reflection.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/src/main/resources/META-INF/native-image/com.datastax.oss/java-driver-core/reflection.json b/core/src/main/resources/META-INF/native-image/com.datastax.oss/java-driver-core/reflection.json index 18bbf09c7cc..de95f64f868 100644 --- a/core/src/main/resources/META-INF/native-image/com.datastax.oss/java-driver-core/reflection.json +++ b/core/src/main/resources/META-INF/native-image/com.datastax.oss/java-driver-core/reflection.json @@ -118,13 +118,6 @@ "allDeclaredMethods": true, "allPublicMethods": true }, - { - "name": "io.netty.channel.socket.nio.NioSocketChannel", - "allDeclaredConstructors": true, - "allPublicConstructors": true, - "allDeclaredMethods": true, - "allPublicMethods": true - }, { "name": "io.netty.buffer.AbstractByteBufAllocator", "allDeclaredConstructors": true,