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

cocorossello
Hi,

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
filter.

Thank you in advance,
Vicente.



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html