ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10757) Upgrade OFBiz to use Java JDK Version 11
Date Wed, 20 Feb 2019 16:17:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773158#comment-16773158

Jacques Le Roux commented on OFBIZ-10757:

This is what I got:
49 warnings

> Task :test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/Z:/Gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.16/aa30a6479a3f6efc2ba8cd810cc2caf22a613b19/groovy-all-2.4.16.jar)
to constructo
r java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access
WARNING: All illegal access operations will be denied in a future release

7 actionable tasks: 6 executed, 1 up-to-date
A lot of the warnings are
{quote}warning: [deprecation] newInstance() in Class has been deprecated
Easy fix: [https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html#newInstance--]

But some classes (24 errors) don't implement {{getDeclaredConstructor}}()

> Upgrade OFBiz to use Java JDK Version 11
> ----------------------------------------
>                 Key: OFBIZ-10757
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10757
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Taher Alkhateeb
>            Priority: Minor
> To implement as per [Discussion Thread|https://lists.apache.org/thread.html/71b8c1048f1dd4c5b3f104233c9af7b2cbc690863fe35b08ef91fcf5@%3Cdev.ofbiz.apache.org%3E]

This message was sent by Atlassian JIRA

View raw message