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

Upgraded Guice to 5.0.1 #2421

Merged
merged 1 commit into from Mar 28, 2021
Merged

Upgraded Guice to 5.0.1 #2421

merged 1 commit into from Mar 28, 2021

Conversation

jan-molak
Copy link
Member

Serenity BDD reports issues with illegal reflective access, caused by Guice (see google/guice#1133):

➜ npx serenity-bdd run                                                                                                                                                                                                                                                                                   20:02  [397ccd3]
Spawning: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dserenity.compress.filenames=true -DLOG_LEVEL=warn -Dlogback.configurationFile=/home/rod/serenity-js-cucumber-protractor-template/node_modules/@serenity-js/serenity-bdd/resources/logback.config.xml -jar node_modules/@serenity-js/serenity-bdd/cache/serenity-cli-2.3.31.jar --destination target/site/serenity --features features --source target/site/serenity --project serenity-js-cucumber-protractor-template
-------------------------------
SERENITY COMMAND LINE INTERFACE
-------------------------------
Loading test outcomes from target/site/serenity
Writing aggregated report to target/site/serenity

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/home/rod/serenity-js-cucumber-protractor-template/node_modules/@serenity-js/serenity-bdd/cache/serenity-cli-2.3.31.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
Report generation done

The issue seems to have been fixed in Guice 5.0.1

…ective access by com.google.inject.internal.cglib.core.' seen on Serenity/JS
@wakaleo wakaleo merged commit 7c3e279 into serenity-bdd:master Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants