[
https://issues.apache.org/jira/browse/OFBIZ-13306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034337#comment-18034337
]
Jacques Le Roux commented on OFBIZ-13306:
-----------------------------------------
Adding
{code}
build.gradle | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.gradle b/build.gradle
index 5c383262f7..e52697da3a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -164,6 +164,7 @@ tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:all'
// Exclude varargs warnings which are not silenced by @SafeVarargs.
options.compilerArgs << '-Xlint:-varargs'
+ options.compilerArgs << '-Xlint:-this-escape'
}
}
{code}
temporary hide most of warnings, remains only 33. This is only to hide, and
those issues should be fixed.
test tasks still shows the same 8 deprecated warnings about locale {code}new
locale(String,String){code}
> Upgrade java version to 21
> --------------------------
>
> Key: OFBIZ-13306
> URL: https://issues.apache.org/jira/browse/OFBIZ-13306
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS, ALL COMPONENTS, ALL PLUGINS
> Affects Versions: Upcoming Branch
> Reporter: Gaetan Chaboussie
> Priority: Major
>
> Upgrade java to version 21 to keep the framework up to date.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)