Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-pmc] Request to backport bug 490988 - [compiler] Able to compile Interface.super construct in 1.7 project while using classes defined in 1.8 project

Hi all
 
The fix for bug 490988 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=490988) contains API additions in the form of two constants
 
org.eclipse.jdt.core.compiler.IProblem.InterfaceSuperInvocationNotBelow18
org.eclipse.jdt.core.compiler.IProblem.InterfaceStaticMethodInvocationNotBelow18
 
to report constructs that are invalid at source level < 1.8.
 
Since allowing these 1.8 constructs at a lower source level is dangerous and would result in runtime errors that would surprise users, this bug is scheduled for backporting to 4.6.1. I request PMC approval for the same.
Gerrit change on 4.6.1 stream can be found here https://git.eclipse.org/r/78925
 
Thanks and Regards
Sasikanth


Back to the top