Skip to content
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

[gRPC][Protobuf tool] Illegal reflective access warning from handlebar #385

Closed
daneshk opened this issue Oct 26, 2020 · 0 comments · Fixed by ballerina-platform/module-ballerina-grpc#199
Assignees
Labels
module/grpc Team/PCM Protocol connector packages related issues Type/Bug Verson/SwanLakeDump All issues planned for Swan Lake GA release

Comments

@daneshk
Copy link
Member

daneshk commented Oct 26, 2020

When generating gRPC stub files and client file, the following warning messages are printed in the console.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.github.jknack.handlebars.context.FieldValueResolver$FieldMember (file:/Library/Ballerina/distributions/ballerina-slp5/bre/lib/docerina-2.0.0-Preview5.jar) to field java.util.HashMap.table
WARNING: Please consider reporting this to the maintainers of com.github.jknack.handlebars.context.FieldValueResolver$FieldMember
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

This is already reported in the issue [1]

  1. WARNING: Illegal reflective access by com.github.jknack.handlebars.context.MemberValueResolver jknack/handlebars.java#667

The code is generated as expected. check the warning message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/grpc Team/PCM Protocol connector packages related issues Type/Bug Verson/SwanLakeDump All issues planned for Swan Lake GA release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants