You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A CacheManager provides: [ ... ] The ClassLoader that caches will use, should they require it,
for resolving and loading application classes.
I browsed through the TCK and cannot find any assertions for this. There is a jar file called app-domain.jar that seams to be created for it. This gets picked up in CachingProviderClassLoaderTest. But there is no test with it. Did I miss something?
Should we:
Remove app-domain.jar and leave classloading untested?
Add tests?
The text was updated successfully, but these errors were encountered:
It looks like there was a test for Caches with different ClassLoaders that did actually use app-domain.jar artifact but was removed by 3e96233 as a fix for #56 . My understanding is that tests should be added to verify classloading behaviour of Caches.
cruftex
changed the title
classloader checks / cleanup app-domain.jar
classloader checks / cleanup app-domain.jar / test-domain.jar
Dec 21, 2016
Meanwhile I found out that the beans in app-domain.jar are used in some other tests. However, those tests don't need it in a separate class.
The whole classloading topic is in jsr107/jsr107spec#358 and was deferred to JCache 2.0. We shouldn't add tests if the Spec is not clear about it.
If the TCK 1.1 is also uploaded to maven central, I think we should cleanup and put the needed code from these modules in the TCK directly. app-domain.jar and test-domain.jar on maven central is looking quite strange.
The Spec says on page 20:
I browsed through the TCK and cannot find any assertions for this. There is a jar file called
app-domain.jar
that seams to be created for it. This gets picked up inCachingProviderClassLoaderTest
. But there is no test with it. Did I miss something?Should we:
app-domain.jar
and leave classloading untested?The text was updated successfully, but these errors were encountered: