Skip to main content

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

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


Back to the top