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

Source code compatible with JDK 1.7 #196

Open
DurdenP opened this issue Jan 14, 2016 · 5 comments
Open

Source code compatible with JDK 1.7 #196

DurdenP opened this issue Jan 14, 2016 · 5 comments

Comments

@DurdenP
Copy link

DurdenP commented Jan 14, 2016

I should integrate your clc-java-sdk in a project written with JDK 1.7 ("1.7.0_80").
I saw that the code is compiled (and requires) the JDK 1.8 (you use the new features introduced by that version onward, such as the lambda expression).
I tried (unsuccessfully) to compile with gradle the source code, inserting on the build.gradle:

  • sourceCompatibility = 1.8
  • targetCompatibility = 1.7

How could i fix it?

@pslam
Copy link
Contributor

pslam commented Jan 15, 2016

Hi @DurdenP
Due to java backward compatibility you can use java 8 in your project instead of java 7
or is it critical for you ?

@DurdenP
Copy link
Author

DurdenP commented Jan 15, 2016

Hi @pslam
Yes, i'm forced to work with the Java 7

@andreaturli
Copy link

java7 compatibility would be much appreciated!

@idrabenia
Copy link
Contributor

"@idrabenia do you have an idea on how much time to support this?"
Hi @jruckle , I think no less than 2 man-month. All our code wide use Java 8 Stream API, lambdas, CompleteableFutures.

We discussed this question on one of our first meetings with @nstetich and Andrey Yurkevich and I also was surprised that decision to use Java 8 was made.

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

5 participants
@andreaturli @idrabenia @pslam @DurdenP and others