You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeing a PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type error that seems related to this dependency update as the referenced line is related to mocking the Publisher.
There is an open pull request for upgrading mockito at googleapis/java-pubsub#1882 that is currently failing with the error:
org/mockito/ArgumentMatcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
This seems be a version mismatch between Java 8 (52) and Java 11 (55) (per this StackOverflow). The issue is that Mockito v5 dropped support for Java 8.
We may need to stick with this solution of the flipped easymock and mockito dependencies are can potentially look into removing the mockito dependency completely.
Activity
michaelpri10 commentedon Jun 24, 2025
There is an open pull request for upgrading mockito at googleapis/java-pubsub#1882 that is currently failing with the error:
This seems be a version mismatch between Java 8 (52) and Java 11 (55) (per this StackOverflow). The issue is that Mockito v5 dropped support for Java 8.
We may need to stick with this solution of the flipped
easymockandmockitodependencies are can potentially look into removing themockitodependency completely.michaelpri10 commentedon Sep 30, 2025
We'll be supporting Java 8 until at least September 2026, per this documentation, so our options are likely to either:
[-]JDK 24 support and Mockito[/-][+][java-pubsub] JDK 24 support and Mockito[/+]