Startup time and kotlin generated classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Startup time and kotlin generated classes


We have a significant part of the project written in kotlin and I can notice
that tomee spends a lot of startup time in CdiScanner.tryToMakeItFail  ,
loading kotlin generated classes like MyClass$Companion,
MyClass$WhenMappings, etc.  

Is there any way I can exclude them out of the cdi scan? Only way I've found
is by package or prefix, but I would need a custom java filter or a suffix

Thank you in advance,

Sent from: