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

apollo-client依赖的guice版本提升到5.0.1 #4031

Closed
vate34 opened this issue Oct 13, 2021 · 2 comments
Closed

apollo-client依赖的guice版本提升到5.0.1 #4031

vate34 opened this issue Oct 13, 2021 · 2 comments
Labels
area/client apollo-client feature request Categorizes issue as related to a new feature.
Milestone

Comments

@vate34
Copy link

vate34 commented Oct 13, 2021

你的特性请求和某个问题有关吗?请描述
在使用 9 及以上 jdk 版本启动依赖项包含有 apollo-client 的项目时,会出现以下警告信息:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/Users/xxx/.m2/repository/com/google/inject/guice/4.1.0/guice-4.1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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

清晰简洁地描述这个问题是什么。
此警告是由guice引起的非法访问警告,在 guice 5.0.1版本已被解决,详见 google/guice#1133

清晰简洁地描述一下你希望的解决方案
将apollo-clent依赖的guice版本提升至 5.0.1

@nobodyiam
Copy link
Member

Previously we did not upgrade the guice version because we need to support java 7. Since now we decided to drop java 7 support(#3896), I think we can upgrade guice now. Would you please help to submit a pr to fix this?

@Anilople Anilople added area/client apollo-client feature request Categorizes issue as related to a new feature. labels Oct 30, 2021
@Anilople Anilople added this to the 2.0.0 milestone Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client apollo-client feature request Categorizes issue as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants