![]() ![]() If you develop a build system, you should create an integration for your users!Įrror-prone is implemented as a compiler hook, using an internal mechanism in If you’re an end-user of the build system, you can JEP 396: Strongly Encapsulate JDK Internals by Default: My build system isn’t listed here The -add-exports and -add-opens flags are required when using JDK 16 and ![]() ShortSet.java:8: error: Argument 'i - 1' should not be passed to this method its type int is not compatible with its collection's type argument Short maven-compiler-plugin 3.8.0 8 8 UTF-8 true -XDcompilePolicy=simple -Xplugin:ErrorProne -J-add-exports=jdk.compiler/.api=ALL-UNNAMED -J-add-exports=jdk.compiler/.file=ALL-UNNAMED -J-add-exports=jdk.compiler/.main=ALL-UNNAMED -J-add-exports=jdk.compiler/.model=ALL-UNNAMED -J-add-exports=jdk.compiler/.parser=ALL-UNNAMED -J-add-exports=jdk.compiler/.processing=ALL-UNNAMED -J-add-exports=jdk.compiler/.tree=ALL-UNNAMED -J-add-exports=jdk.compiler/.util=ALL-UNNAMED -J-add-opens=jdk.compiler/.code=ALL-UNNAMED -J-add-opens=jdk.compiler/.comp=ALL-UNNAMED error_prone_core $ -with-dependencies.jar:dataflow-errorprone-3.15.0.jar \ '-Xplugin:ErrorProne -XepDisableAllChecks -Xep:CollectionIncompatibleType:ERROR' \
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |