helidon icon indicating copy to clipboard operation
helidon copied to clipboard

Remove virtual executor util and use common config in common modules.

Open tomas-langer opened this issue 3 years ago • 0 comments

Resolves #4869

Requires --enable-preview to be added to a few test/compiler configs. Moved most commonly used shortcut methods to common config (asInt() etc), as we do not want a dependency on full config from common modules, and this simplifies the code (and leaves it untouched). Added method map(Function<common.config.Config, T> mapper) to common config, as it cannot be compatible with as(Function<Config, T> mapper) in config. This makes it much easier to migrate. We can eventually deprecate the as(mapper) method if we decide to.

tomas-langer avatar Sep 13 '22 12:09 tomas-langer