Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho 2.1.0 cannot run tests with Java 1.8 anymore. Bug?

Hi Ed,

> Java 8 is dead as far as significant parts of Eclipse are now concerned.

yes, for new code that is right and about time. For plug-ins, alas, you
need to make sure that they work with pre-2020-09 versions of Eclipse,
too, and for those your users may very well still use Java 1.8. In fact,
very old versions of Eclipse, which your users still rely on for one
plug-in or another, don't even run on Java 11.

Call me paranoid, but I would really like to run my tests against both
new versions of Eclipse on Java 11 and old versions of Eclipse on Java 1.8.

> Java 11 is pretty much mandatory UI-wise though you can still test for
> Java 8 or even Java 5 standalone.

I am afraid I don't understand. What do you mean by "test for"?

> You may find https://bugs.eclipse.org/bugs/show_bug.cgi?id=569379
> provides some helpful clues after I attempted a similar migration.

Thank you. I'll have a look.

What I don't quite get is why the *forked* JVM with the Surefire Booter
needs to be a Java 11 one, since Surefire and JUnit 5 themselves are
still compatible with Java 1.8. At least for running tests against older
versions of Eclipse, which themselves run just fine on Java 1.8, that
should be not be necessary. (All the Tycho plug-ins running as part of
the "mvn" JVM can absolutely require Java 11; I am just talking about
the test runtime.)

Best wishes,

Andreas

-- 
Dr. Andreas Sewe | sewe@xxxxxxx | +49 152 56342856
CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top