-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support JCache 1.1.0 #2212
Support JCache 1.1.0 #2212
Conversation
107/build.gradle
Outdated
@@ -32,8 +32,8 @@ sourceSets { | |||
dependencies { | |||
compile project(':impl'), project(':xml') | |||
provided "javax.cache:cache-api:$parent.jcacheVersion" | |||
tckTestRuntime 'javax.cache:cache-tests:1.0.1' | |||
tckTestClasses('javax.cache:cache-tests:1.0.1:tests') { | |||
tckTestRuntime "j«avax.cache:cache-tests:$jcacheTckVersion" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rogue character
@@ -79,9 +79,6 @@ public void testRunTimeTypeSafety() throws Exception { | |||
|
|||
try { | |||
cacheManager.getCache("cache1"); | |||
fail("Caches with runtime types should throw illegal argument exception when different types are used in getcache"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems really broken... am I missing something here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See jsr107/jsr107spec#340 for the details behind this change. It effectively covers up a hole in the API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed but I have the same comments as @chrisdennis
de1ee86
to
fa21244
Compare
PR to be ready for JCache 1.1 when it gets released as supporting it for Ehcache 3.5 would be ideal.
PR should fail to build until we can reference a released version though.