-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Is it time to move on? Should feign move to java 8
?
#656
Comments
Up to you, but if this changes, please change the group ID and the package
ID as it won't be bytecode compatible anymore so definitely a major
release. Decisions like this are open, but because the collateral damage
extends well beyond those watching issues, just be very cautious if
implementing this. We don't want to create work for "innocent bystanders"
and changing package and group Id helps with this.
…On Sat, Mar 17, 2018 at 11:55 AM, Marvin Froeder ***@***.***> wrote:
Right now, feign is compatibility is bound to java 6.
Is it time to release feign 10.0 with java 8? (10.x was @spencergibb
<https://github.com/spencergibb> suggestion)
@kdavisk6 <https://github.com/kdavisk6> suggested we start a discussion
about it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#656>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAD613jKbibWPA6Qui4V7k8sL-plo9o7ks5tfIksgaJpZM4SuqAq>
.
|
ps @spencergibb <https://github.com/spencergibb> might disagree with me
about if changing package names helps or not. It does invalidate other
layered tools.. so don't take my word as gospel
|
Spring doesn't change group id or artifact id for minimum Java versions |
Spring doesn't change group id or artifact id for minimum Java versions
I guess what I mean to ask isn't so much about spring code, but spring
cloud impact. When feign is rewritten to java 8 it will not be compatible
anymore with java 7. Is this an issue for spring cloud? If so, maybe group
id, package. If not, then maybe unnecessary.
At any rate the android support statements should be dropped if this
happens, so yeah just update that part. In other projects I've avoided
bumping to java 8 (and dealing with this) via retrolambda. Anyway there are
a few folks who will be invalidated. For example, anyone using feign inside
a metrics library as an exporter, it will invalidate the ability to use it
(which might be fine as they just put a <10 update comment in their version
matrix).
|
Yeah, https://github.com/orfjackal/retrolambda seems a good option. |
In my mind, android had java 8 support
https://developer.android.com/studio/write/java8-support.html
Am I missing something?
There's an SDK version level concern. For example, the current code is
compatible with older versions
https://github.com/Netflix/denominator/blob/master/example-android/build.gradle#L14
|
Nope, spring cloud (and framework and boot) are now all baselined to Java 8. |
By moving to Java 8, what will we gain? (Not sarcastic, honest question). |
Use of java 8 language and APIs inside core feign. |
Allow us to merge this #638 |
I understand that #638 wants to add |
Just to be clear, I'm all for moving to Java 8. I am trying to get an idea on how much do we need to change versus should change to get there. |
Is this something we still want to pursue? If so, what do we need to get started? |
I think we should consider feign 10 with java 8. I don't have any features in mind, but that will open doors for sure. How does that sound like? |
it will certainly close door to being compatible with android < sdk24 very quickly @velo |
@masc3d as you can see, this was done 3 months ago. |
Meant to type retrolambda |
Right now, feign is compatibility is bound to
java 6
.Is it time to release feign 10.0 with
java 8
? (10.x was @spencergibb suggestion)@kdavisk6 suggested we start a discussion about it.
The text was updated successfully, but these errors were encountered: