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
Problem:
The build.gradle file sets minJavaVersion to 11. However, the codebase uses APIs from higher JDK versions, such as MappedByteBuffer.slice(int, int) (added in Java 13) in FileCache.java.
Impact:
This mismatch causes IDEs like IntelliJ IDEA to flag these API calls as errors, as the IDE configures the module's language level based on minJavaVersion. This disrupts the development workflow.
Suggestion:
Increase minJavaVersion in build.gradle to 13 or higher to align the build configuration with the code implementation.
2. Compile Warning Check and Fix
Problem:
The build script enables the -Werror option, which treats all compiler warnings as errors.
Action Recommended:
Check for any existing compiler warnings in the codebase and fix them.