cost 189 ms
Static mock failing on JDK 17

The same code worked perfectly with JDK 11. Switching to JDK 17 makes the test fail, since Instant.now() returns null. import static org.junit.jupite ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM