Skip to content

CI: Start testing on JDK 26-ea#9017

Merged
mbien merged 2 commits intoapache:masterfrom
mbien:ci-26ea
Nov 16, 2025
Merged

CI: Start testing on JDK 26-ea#9017
mbien merged 2 commits intoapache:masterfrom
mbien:ci-26ea

Conversation

@mbien
Copy link
Member

@mbien mbien commented Nov 14, 2025

bumps upper bound to 26-ea

typical matrix will be:

  • [17, 25, 26-ea] for PRs
  • [17, 26-ea] for master

exceptions:

  • build-tools which tests on 21 since some tests don't run on 25
  • java tests have to wait for nb-javac 26

closes #4952 (second commit removes last remaining Thread.stop() usage in the jshell module)

@mbien mbien added this to the NB29 milestone Nov 14, 2025
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests CI continuous integration changes labels Nov 14, 2025
@mbien
Copy link
Member Author

mbien commented Nov 14, 2025

I thought I tested the build post applet removal #8576 (comment) :(

edit: extracted to #9019

Comment on lines -465 to +470
} catch (ThreadDeath td) {
LOG.log(Level.FINE, "Received ThreadDeath, killed: {0}", killed);
if (!killed.get()) {
throw td;
}
// TODO this code relied on performStop() calling Thread.stop()
// } catch (ThreadDeath td) {
// LOG.log(Level.FINE, "Received ThreadDeath, killed: {0}", killed);
// if (!killed.get()) {
// throw td;
// }
Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't able to reach this code path. But I also don't really know all usecases of the jshell integration, outside of opening it via the tools menu.

But since nobody complained about UnsupportedOperationExceptions so far, it might be very niche or not reachable anymore at this point.

bumps upper bound to 26-ea

typical matrix will be:

 - [17, 25, 26-ea] for PRs
 - [17, 26-ea] for master

exceptions:

 - build-tools which tests on 21 since some tests don't run on 25
 - java tests have to wait for nb-javac 26
@mbien
Copy link
Member Author

mbien commented Nov 16, 2025

will merge once green

@mbien mbien merged commit 4d3e9ba into apache:master Nov 16, 2025
73 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI continuous integration changes Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Maven [ci] enable "build tools" tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Thread.stop() usage

1 participant