Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Java 11+ hates some of the reflection stuff we do #506

Closed
cdietrich opened this issue Oct 13, 2017 · 13 comments
Closed

Java 11+ hates some of the reflection stuff we do #506

cdietrich opened this issue Oct 13, 2017 · 13 comments
Assignees
Milestone

Comments

@cdietrich
Copy link
Member

e.g.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.xtext.util.MergeableManifest (file:/C:/Users/aart/eclipse/plugins/org.eclipse.xtext.util_2.13.0.v20171005-0628.jar) to field java.util.jar.Manifest.attr
WARNING: Please consider reporting this to the maintainers of org.eclipse.xtext.util.MergeableManifest
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
@cdietrich cdietrich added this to the Release_2.14 milestone Oct 13, 2017
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Nov 23, 2017
eclipse/xtext-core#506

Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Nov 23, 2017
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Nov 23, 2017
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Feb 10, 2018
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
cdietrich added a commit to eclipse/xtext-eclipse that referenced this issue Feb 18, 2018
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
@cdietrich cdietrich modified the milestones: Release_2.14, Release_2.15 May 9, 2018
kthoms pushed a commit that referenced this issue May 28, 2018
@cdietrich
Copy link
Member Author

cdietrich commented Jun 5, 2018

More places:

@cdietrich cdietrich modified the milestones: Release_2.15, Release_2.16 Aug 31, 2018
@cdietrich cdietrich modified the milestones: Release_2.16, Release_2.17 Nov 20, 2018
@cdietrich cdietrich modified the milestones: Release_2.17, Release_2.18 Feb 4, 2019
@cdietrich cdietrich changed the title Java 9 hates some of the reflection stuff we do Java 11 hates some of the reflection stuff we do Feb 4, 2019
@cdietrich cdietrich changed the title Java 11 hates some of the reflection stuff we do Java 11+ hates some of the reflection stuff we do May 3, 2019
@cdietrich cdietrich modified the milestones: Release_2.18, Release_2.19 May 27, 2019
@cdietrich
Copy link
Member Author

no news on guice side

@cdietrich cdietrich modified the milestones: Release_2.19, Release_2.20 Aug 26, 2019
@cdietrich cdietrich modified the milestones: Release_2.20, Release_2.21 Nov 18, 2019
@cdietrich
Copy link
Member Author

move to 2.22

@cdietrich cdietrich removed this from the Release_2.21 milestone Feb 21, 2020
@cdietrich cdietrich added this to the Release_2.22 milestone Feb 21, 2020
@cdietrich cdietrich modified the milestones: Release_2.22, Release_2.23 May 25, 2020
@cdietrich cdietrich modified the milestones: Release_2.23, Release_2.24 Aug 21, 2020
@cdietrich
Copy link
Member Author

still waiting for guice fix to be released. move to 2.24

@wmanth
Copy link

wmanth commented Oct 29, 2020

Any news on that? Would be reducing the extensive use of dependency injection an option?
Some people (or is it just me?) anyway have problems understanding what's going on and how to fix things if they don't work as expected.

And obviously Guice is not a well behaving first class citizen on Java >8 anymore.

@cdietrich
Copy link
Member Author

cdietrich commented Oct 29, 2020

there is a guice 5 beta out containing a fix.
but that brings other problems
so it will take some time to integrate it
once it is release

see also #393
you might also experiment using guice 3/4 noaop

@cdietrich cdietrich modified the milestones: Release_2.24, Release_2.25 Nov 16, 2020
@cdietrich
Copy link
Member Author

as there is still no guice release: move to 2.25

@cdietrich
Copy link
Member Author

as there is still no guice release: move to 2.26

@cdietrich cdietrich modified the milestones: Release_2.25, Release_2.26 Feb 12, 2021
@melaasar
Copy link

I think there is a release now: https://github.com/google/guice/releases/tag/5.0.1

@cdietrich
Copy link
Member Author

@melaasar fee free to test with the information in #393

@cdietrich cdietrich self-assigned this Aug 16, 2021
@cdietrich
Copy link
Member Author

TODO: milestone & bootstrapping test

@cdietrich
Copy link
Member Author

cdietrich commented Aug 25, 2021

there is also still some warnings in tycho/pde that needs tested with new version
update: these warnings are about security manager. so a different thing
it's also fixed in 2.5
=> only thing left is bootstrapping

@cdietrich
Copy link
Member Author

done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants