Skip to content

More testing with Java 21#7940

Merged
headius merged 10 commits intojruby:masterfrom
kares:java-21
Oct 5, 2023
Merged

More testing with Java 21#7940
headius merged 10 commits intojruby:masterfrom
kares:java-21

Conversation

@kares
Copy link
Member

@kares kares commented Sep 21, 2023

The PR adds CI testing with Java 21 (release), also added some variations on the Java flavor used (with temurin).

The embedded (jruby-complete) test targets now also work on Java > 8 and are actively tested against later versions.

A few minor (Java) deprecations are addressed, most of the remaining ones are around SecurityManager and the related access exception being used... which are likely going to be tricky to get rid of.

@kares kares marked this pull request as ready for review September 21, 2023 10:56
@kares kares force-pushed the java-21 branch 2 times, most recently from c70b188 to 08cf307 Compare September 21, 2023 11:15
@kares kares marked this pull request as draft September 26, 2023 09:36
@kares kares changed the title testing out Java 21 More testing with Java 21 Sep 26, 2023
@kares kares added this to the JRuby 9.4.4.0 milestone Sep 26, 2023
@kares kares marked this pull request as ready for review September 27, 2023 08:15
@kares kares requested a review from headius September 27, 2023 14:45
Copy link
Member

@headius headius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me overall.

I am a bit concerned with the number of additional jobs added, however. I count something like 28 additional jobs. Some of these are quick, but several are very heavy and will add time to CI (e.g. spec:ruby:fast variations).

We can discuss this after merging (since the missing 21-ea is breaking builds right now) but the short story is that I made some suites only test on 8 and whatever is latest, assuming that passing both would mean the intermediate versions work too. We need to balance how long CI runs with how much we need to reasonably test.

@headius
Copy link
Member

headius commented Oct 5, 2023

I'm going ahead with merging this since master is broken due to "21-ea" not being an installable Java anymore.

@headius headius merged commit a55c575 into jruby:master Oct 5, 2023
@kares kares deleted the java-21 branch October 5, 2023 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants