Closed infeo closed 1 month ago
The recent updates involve a comprehensive upgrade of the Java version from 17 to 21 across various GitHub Actions workflow files and project configurations. This transition enhances the development environment, enabling the use of new features and performance improvements. Additionally, the pom.xml
file has been updated to include a newer version of the Mockito library, which aims to bolster testing capabilities. Test files have also been refined for better mock handling and more specific exception management.
Files | Change Summary |
---|---|
.github/workflows/*.yml |
Java version updated from 17 to 21 for build, CodeQL analysis, dependency checks, and publishing workflows. |
.idea/misc.xml |
Updated languageLevel and project-jdk-name from 17 to 21, indicating a shift to JDK 21. |
pom.xml |
Java compiler version upgraded from 17 to 21; Mockito version updated from 5.2.0 to 5.12.0; artifact ID changed from mockito-inline to mockito-core . |
src/test/java/org/cryptomator/cryptofs/CryptoFileSystemImplTest.java |
Enhanced mocking for physicalFsProv and ciphertextParent ; refined exception handling for testing directory creation scenarios. |
src/test/java/org/cryptomator/cryptofs/CryptoPathMapperTest.java |
Improved mock behavior for underlyingFileSystemProvider with additional exists method calls in test cases. |
sequenceDiagram
participant Developer
participant CI/CD
participant Java_21
participant Test_Environment
Developer->>CI/CD: Push changes
CI/CD->>Java_21: Setup Java 21
Java_21->>CI/CD: Java environment ready
CI/CD->>Test_Environment: Run tests with updated mocks
Test_Environment-->>CI/CD: Tests completed
CI/CD->>Developer: Build successful with Java 21
In fields of code where rabbits play,
We've hopped to Java twenty-one today!
With mocks that dance and tests that shine,
Our projects leap, all things align.
So raise your ears and give a cheer,
For improved builds and joy this year! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR updates the project to JDK 21.
Notable adjustments: