Description
Description
Right now, UtBot deals with InaccessibleObjectException
in Java 17+ by opening individual packages for reflection (see OpenModulesContainer
, however this approach is not exhaustive and new InaccessibleObjectException
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 solve InaccessibleObjectException
problem altogether with one method call org.burningwave.core.assembler.StaticComponentContainer.Modules.exportAllToAll()
that can be both executed concretely and added to generated tests, we should at least consider using it.
Metadata
Metadata
Assignees
Type
Projects
Status