-
Notifications
You must be signed in to change notification settings - Fork 67
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
Synchronize jdt.compiler.targetPlatform in J2SE profiles #655
Conversation
I don't recall why these values are the way they are, other than we got them from the JDT team and they were the ones that cared about what they were set to. The framework never cared. I am therefore reluctant to go against what Markus stated in https://bugs.eclipse.org/bugs/show_bug.cgi?id=268152#c0
|
Yes I read that as well and since it only mentioned |
ECJ may be not interested, but debugger / JDT UI may do.
|
Yes, the values defined here are read in https://github.com/eclipse-jdt/eclipse.jdt.debug/blob/3a3eba11c7b0c6079ff44a99fb409f277ec5ec21/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironment.java#L425-L437
These places only use the |
@tjwatson how should we proceed here? I think it is fine to submit this. |
I approved, but I still am unsure what externally observable problem it is fixing. |
Thanks, then let's submit this now. It is fixing the problem that At the moment this has to be handled specifically in PDE: With this, that special handling can be removed. |
This also leverages the changs from eclipse-equinox/equinox#655
This also leverages the changs from eclipse-equinox/equinox#655
This also leverages the changs from eclipse-equinox/equinox#655
This also leverages the changs from eclipse-equinox/equinox#655
Due to changes in Equinox eclipse-equinox/equinox#655
Due to changes in Equinox eclipse-equinox/equinox#655
Due to changes in Equinox eclipse-equinox/equinox#655
Due to changes in Equinox eclipse-equinox/equinox#655
The org.eclipse.jdt.core.compiler.codegen.targetPlatform values in the J2SE profiles seem to not match what I would expect based on the Id of the profile and based on their description:
These values where introduced in 3165d6c. The corresponding compliance settings where changed for example in
Bug 268152.
I don't know if there is a specific reason to have different values or if it was a mistake.
Given that ECJ is about to drop support for all Java version below 1.8 these values are probably irrelevant most of the time any ways. I just noticed it during my work for eclipse-pde/eclipse.pde#1324, where this value influences the order of these old java versions (which is in practice also not very relevant anymore).