Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
All
-
Small
Description
See https://jira.talendforge.org/browse/TDI-51554
seems the jar verfiy process do when every class load in it.
Resolution selected:
When using ConfigurableClassLoader (tccl) define a system property named talend.tccl.cacheable.classes which contains a list of cacheables classes prefixes separated by ,.
Sample
System.setProperty("talend.tccl.cacheable.classes", "org.apache.ziplock.JarLocation,com.ctc.wstx.stax");
When this property is set all classes starting by the prefixes will be cacheables. Ie:
- org/apache/ziplock/JarLocation.class will use cache.
- org/apache/ziplock/Archive.class will NOT use cache.