Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Use of org.eclipse.jdt.annotation in Papyrus

Hi,

We've never used these annotations in Papyrus, and never made an actual choice on whether they should be used or not. I don't know why they've been used in this specific plug-in. If the workaround suggested by Ed works, then we can go for it. Otherwise, we can simply remove these annotations.

BTW, I only have org.eclipse.jdt.annotation 1.1 installed in my platform, and still have these compile errors.

Camille

-----Message d'origine-----
De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Ed Willink
Envoyé : vendredi 9 mai 2014 21:23
À : Papyrus Project list
Objet : Re: [mdt-papyrus.dev] Use of org.eclipse.jdt.annotation in Papyrus

Hi Christian

See

https://bugs.eclipse.org/bugs/show_bug.cgi?id=434307

and

https://bugs.eclipse.org/bugs/show_bug.cgi?id=434499

The workaround is to define a Target Platform that excludes jdt.annotation 2.0.0

Please add a me-too to this problem.

	Regards

		Ed Willink

On 09/05/2014 19:41, Christian W. Damus wrote:
> Hi, Team,
>
> I updated to Luna M7 today, and am now bitten by the problem in JDT's Java 8 support [1] that produces invalid compilation errors on usage of the @Nullable and @NonNull annotations from the org.eclipse.jdt.annotation package in projects configured for compliance level less than 1.8.
>
> We have instances of these annotations in the org.eclipse.papyrus.uml.search.ui project.
>
> I thought I had understood that Papyrus doesn't use these annotations.  Has that policy changed?  Or was it not a policy, and I was mistaken?
>
> Thanks,
>
> Christian
>
> [1] http://bugs.eclipse.org/bugs/show_bug.cgi?id=426582
> _______________________________________________
> mdt-papyrus.dev mailing list
> mdt-papyrus.dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2014.0.4577 / Virus Database: 3931/7466 - Release Date: 05/09/14
>
>

_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Back to the top