Shouldn’t PDE check against the Java 8 API stubs with the feature “API Tools 
Execution Environment Descriptions” installed?
https://git.eclipse.org/c/pde/eclipse.pde.ui.git/tree/apitools/org.eclipse.pde.api.tools.ee.javase18/src/org/eclipse/pde/api/tools/internal/api_stubs

Marc-André

> On Aug 23, 2020, at 8:14 AM, Jonah Graham <jo...@kichwacoders.com> wrote:
> 
> IIRC for JDT to error in this case you need both Java 8 and Java 11 JDKs 
> configured in the IDE.
> 
> Jonah
> 
> ~~~
> Jonah Graham
> Kichwa Coders
> www.kichwacoders.com <http://www.kichwacoders.com/>
> 
> 
> On Sun, 23 Aug 2020 at 04:49, Alexander Fedorov <alexander.fedo...@arsysop.ru 
> <mailto:alexander.fedo...@arsysop.ru>> wrote:
> Hello,
> 
> Currently Eclipse Platform requires Java 11 while a lot of downstream 
> bundles would prefer to stay on Java 8 for a while.
> This leads to a situation when workspace has Java 11 classpath and Java 
> 11 methods are visible for Java 8 bundles.
> 
> What is the right way to configure JDT and PDE to not accept Java 11 
> usages for Java 8 projects?
> 
> Thanks,
> AF
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org 
> <mailto:cross-project-issues-dev@eclipse.org>
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev 
> <https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev>
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to