[
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:
{noformat}
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 operations
WARNING: All illegal access operations will be denied in a future release
BUILD SUCCESSFUL in 2m 24s
7 actionable tasks: 6 executed, 1 up-to-date
C:\projectsASF\ofbiz>
{noformat}
A lot of the warnings are
{quote}warning: [deprecation] newInstance() in Class has been deprecated
{quote}
Easy fix: [
https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html#newInstance--]
But some classes (24 errors) don't implement {{getDeclaredConstructor}}()
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)