Consider using burningwave to export all modules to all modules #2621
Labels
comp-instrumented-process
Issue is related to Instrumented process
ctg-enhancement
New feature, improvement or change request
Description
Right now, UtBot deals with
InaccessibleObjectException
in Java 17+ by opening individual packages for reflection (seeOpenModulesContainer
, however this approach is not exhaustive and newInaccessibleObjectException
issues periodically arise (e.g. #448, #909, #1308, #2619, some other related issues regarding CLI and Java API).Furthermore, generated tests fail with
InaccessibleObjectException
when run by user without manually added--add-opens
flags (see Troubleshooting: InaccessibleObjectException: successful symbolic executions fail due to failing utility methods).There's a
burningwave.core
library that can let us solveInaccessibleObjectException
problem altogether with one method callorg.burningwave.core.assembler.StaticComponentContainer.Modules.exportAllToAll()
that can be both executed concretely and added to generated tests, we should at least consider using it.The text was updated successfully, but these errors were encountered: