On Thu, Oct 17, 2019 at 5:04 PM Ed Willink <e...@willink.me.uk> wrote:
> Hi > > "move your bundle to newer BREE (highest BREE of deps)" > > Seems like a good candidate for a MANIFEST.MF warning. > I would highly appreciate if someone provide patches for that. > Regards > > Ed Willink > > On 17/10/2019 14:14, Aleksandar Kurtakov wrote: > > Eclipse Platform starts using more and more new Java constructs (up to > Java 8 for now) like try-with-resources, foreach and etc. > Bundles have their minimal versions bumped whenever BREE has been bumped > so one can have clear indicator of this change. > This new features bring dependency on new classes like AutoClosable ( Java > 1.7) , Iterable (Java 1.5) and probably others. > If your bundles have BREE lower than the Platform bundle they depend on > and you have JVM of that level configured in Eclipse errors like "The > type java.lang.Iterable cannot be resolved. It is indirectly referenced > from required .class files" could be shown. > This is source level only issue if you try to build your old bundle > against latest platform. People just using their prebuilt bundles won't > face anything like this. > Possible fixes for this issue are: > * move your bundle to newer BREE (highest BREE of deps) > * build against proper target platform containing the oldest versions of > your deps you support > > I don't believe many people will face such issues but let's get this out > for the sake of having it written somewhere. > > -- > Alexander Kurtakov > Red Hat Eclipse Team > > _______________________________________________ > cross-project-issues-dev mailing listcross-project-issues-...@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe from > this list, > visithttps://www.eclipse.org/mailman/listinfo/cross-project-issues-dev > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-8993089781911435847_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > cross-project-issues-dev mailing list > cross-project-issues-dev@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev -- Alexander Kurtakov Red Hat Eclipse Team
_______________________________________________ cross-project-issues-dev mailing list cross-project-issues-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev