Skip to content
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

Merged
merged 1 commit into from
Jan 5, 2018
Merged

Support JCache 1.1.0 #2212

merged 1 commit into from
Jan 5, 2018

Conversation

ljacomet
Copy link
Member

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.

@ljacomet ljacomet changed the title [No merge] Support JCache 1.1 [DO NOT MERGE] Support JCache 1.1 Dec 13, 2017
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"
Copy link
Member

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");
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Contributor

@henri-tremblay henri-tremblay left a 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

@ljacomet ljacomet changed the title [DO NOT MERGE] Support JCache 1.1 Support JCache 1.1.0 Dec 21, 2017
@ljacomet ljacomet force-pushed the jcache-1.1 branch 2 times, most recently from de1ee86 to fa21244 Compare December 21, 2017 14:35
@henri-tremblay henri-tremblay merged commit 31248ea into ehcache:master Jan 5, 2018
@ljacomet ljacomet deleted the jcache-1.1 branch January 8, 2018 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants