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

The OCL jobs at https://ci.eclipse.org/ocl/ perform a weekly test that the latest build is useful on Oxygen through to 2021-03 using the appropriate Java for each release. This presumably gives adequate Java 8/11 variance.

The Ecore/UML standalone jobs also test that the legacy functionality works on a Java 5 platform.

That is what I mean by test for Java 5/8/11.

    Regards

        Ed Willink

On 14/04/2021 16:52, Andreas Sewe wrote:
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


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user

Virus-free. www.avast.com

Back to the top