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

Add stub module for Java 8 types #65

Closed
odrotbohm opened this issue Apr 22, 2014 · 0 comments
Closed

Add stub module for Java 8 types #65

odrotbohm opened this issue Apr 22, 2014 · 0 comments
Assignees
Milestone

Comments

@odrotbohm
Copy link
Member

To be able to compile code against JDK 8 types without having to use a JDK 8 to compile we need to add a library providing type mocks of JDK 8 types. Using JDK 8 directly currently causes a lot of pain in Spring Data builds as it requires to run with Spring 4 (which is a non-option for the Dijkstra release train as we have to preserve 3.2 compatibility) and breaks tests here and there as downstream libraries sometimes aren't compatible with JDK 8 bytecode (ASM I am looking at you!).

@odrotbohm odrotbohm added this to the 1.4 RC1 milestone Apr 22, 2014
@odrotbohm odrotbohm self-assigned this Apr 22, 2014
odrotbohm added a commit that referenced this issue Apr 22, 2014
Added a build module to contain an abbreviated version of JDK 8's Optional to be able to add support for it as query method result in Spring Data Commons.

Client modules should refer to it with a provided scope to make sure it's not leaking into the user's projects classpath.
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

No branches or pull requests

1 participant