-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable reflection init of NioSocketChannel with native image #1722
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
tomas-langer
requested changes
May 4, 2020
webclient/webclient/src/main/resources/META-INF/native-image/native-image.properties
Outdated
Show resolved
Hide resolved
webclient/webclient/src/main/resources/META-INF/native-image/reflection-config.json
Outdated
Show resolved
Hide resolved
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
tomas-langer
approved these changes
May 5, 2020
absurdfarce
added a commit
to apache/cassandra-java-driver
that referenced
this pull request
Jul 23, 2021
…thers as well. These were likely required in previous versions of"" This reverts commit 3cdf5fe. Hmmm, a revert of a revert.. those are always tasty. Original revert was motivated by the appearance of helidon-io/helidon#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.
adutra
pushed a commit
to apache/cassandra-java-driver
that referenced
this pull request
Jul 29, 2021
…thers as well. These were likely required in previous versions of"" This reverts commit 3cdf5fe. Hmmm, a revert of a revert.. those are always tasty. Original revert was motivated by the appearance of helidon-io/helidon#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.
adutra
pushed a commit
to apache/cassandra-java-driver
that referenced
this pull request
Jul 29, 2021
…thers as well. These were likely required in previous versions of"" This reverts commit 3cdf5fe. Hmmm, a revert of a revert.. those are always tasty. Original revert was motivated by the appearance of helidon-io/helidon#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.
adutra
pushed a commit
to apache/cassandra-java-driver
that referenced
this pull request
Jul 30, 2021
…thers as well. These were likely required in previous versions of"" This reverts commit 3cdf5fe. Hmmm, a revert of a revert.. those are always tasty. Original revert was motivated by the appearance of helidon-io/helidon#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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To avoid error with native image:
Tested in https://github.com/danielkec/helidon/tree/native-webclient-test
Then call GET at:
WEB server is up! http://localhost:41549/greet/test
Signed-off-by: Daniel Kec daniel.kec@oracle.com