Custom open modules windows #1139
Labels
comp-ui
Improvements of plugin UI appearence and functionality
ctg-enhancement
New feature, improvement or change request
Description
Starting from JDK17 there are no special cli switch
illegal-access
which opens for reflection all jdk internal modules such asjava.base
- ref.UtBot requires some internal jdk modules to be open for reflection. Current set of modules are available here. This set is used every time EngineProcess is started.
However, there can be many other modules which are used via reflection either directly or indirectly. Accessing them would break UTBot. Although we have
OpenModulesContainer
, it cannot suffice because:All 3 options implicate that whatever set of open modules we use - it is still possible for UTBot to access modules closed for reflection. This will break UTBot execution.
To mitigate that problem I propose to provide user a tool to customly set required modules open. The motivation is that user have much better understanding of the project UTBot is used on. In case if our module list is incomplete - he will manully provide additonal modules.
This feature involves:
The text was updated successfully, but these errors were encountered: