Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] Testing with JDK 11-ea?



On Fri, Sep 14, 2018 at 5:49 AM, Brian de Alwis <briandealwis@xxxxxxxxx> wrote:
Platform’s org.eclipse.e4.rcp feature pulls in the javax.annotation bundle.  The easy fix is to have a test bundle do a Require-Bundle javax.annotation. 

That should probably work. Although a change/fix as commented on the bug is probably due.
 

> On Sep 13, 2018, at 5:15 PM, Stephan Herrmann <stephan.herrmann@xxxxxxxxx> wrote:
>
> When I reviewed a change in BETA_JAVA11, I started to play
> with running tests against javac11, created a new Jenkins
> Job [1] for that, but then hit what looks like a road block:
>
> The same "Unresolved requirement: Import-Package: javax.annotation"
> that Ed W. had just reported and which I just moved to Equinox.
> The current version is Bug 539038 [2].
>
> The bad news: o.e.ui.workbench needs this package which as of
> JDK 11 is no longer available from a system module
> (module java.annotation has been REMOVED) so --add-modules is
> no longer of any help.
>
> Did anyone have more success running tests on JDK 11 via maven?
> I see Y-Builds running on jdk8 (really?).
>
> OTOH, I can successfully launch a runtime workbench on JDK 11,
> where that package is resolved to the corresponding bundle from orbit.
>
> Can we fix this for tests on our own, or do we need changes from
> the platform?
>
> best,
> Stephan
>
>
> [1] https://ci.eclipse.org/jdt/job/eclipse.jdt.core-run.javac-11
> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=539038
> _______________________________________________
> jdt-dev mailing list
> jdt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jdt-dev

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-dev



--
Alexander Kurtakov
Red Hat Eclipse Team

Back to the top