You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reflective access with CGLIB breaks windowbuilder in java 16 and higher #45
Laurent, if I understand correctly, this addition will allow cglib to keep running by calling the 'exportAllModulesToAllModules()' method? Is this done for the complete jvm?
Activity
wimjongman commentedon Jun 4, 2021
It works well when I use " --illegal-access=permit" (in eclipse.ini) as proposed by Laurent.
howlger commentedon Jun 22, 2021
Lombok fixed the problem (which I guess is the same) as follows:
projectlombok/lombok@7069c7e
Bug #45 - Reflective access with CGLIB breaks windowbuilder in java 16
Bug #45 - Reflective access with CGLIB breaks windowbuilder in java 16
Merge pull request #55 from eclipse/bugfix/Bug_#45_Reflective_access_…
lcaron commentedon Oct 17, 2021
Bug fixed in WB 1.9.8
wimjongman commentedon Oct 18, 2021
Laurent, if I understand correctly, this addition will allow cglib to keep running by calling the 'exportAllModulesToAllModules()' method? Is this done for the complete jvm?
https://www.burningwave.org/
lcaron commentedon Oct 18, 2021
Yes wim, as far as I understand it is done for the complete JVM
cniweb commentedon Jun 27, 2022
The argument --illegal-access=permit is no longer supported with Java 17.
wimjongman commentedon Jun 27, 2022
I don't think we need that anymore since we switched technologies. @lcaron can you confirm?
merks commentedon Jun 27, 2022
A while back, I added this to make it work with Java 17, but I don't know if that's still needed either:
howlger commentedon Jun 27, 2022
Yes, in recent versions
--illegal-access=permitis not used/required anymore.See also #280 (not yet released)
lcaron commentedon Jun 27, 2022
The trick with
--illegal-access=permitwas necessary with Java 16, but it is no longer supported in Java 17.Anyway the latest release of WB runs without additionnal VM parameter on Java 16+