A small number of our tests don't run on Java 19 for a few different reasons:

  • Mockito's partial mocking doesn't work on Java 19 when the mocked interface has default methods
  • We can't mock InetAddress any more as it's sealed in Java 19
  • Thread dumps describe held locks slightly differently