You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/01/08 19:59:01 UTC

[jira] [Updated] (MENFORCER-278) Upgrade mockito to 2.X to prevent JDK 9 WARNINGs

     [ https://issues.apache.org/jira/browse/MENFORCER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise updated MENFORCER-278:
------------------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.0.0-M1

> Upgrade mockito to 2.X to prevent JDK 9 WARNINGs
> ------------------------------------------------
>
>                 Key: MENFORCER-278
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-278
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-M1
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> Upgrade Mockito Version to 2.X to prevent WARNING in Tests:
> {code}
> Running org.apache.maven.plugins.enforcer.TestDefaultEnforcementRuleHelper
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.mockito.cglib.core.ReflectUtils$2
> (file:/Users/kama/.m2/repository/org/mockito/mockito-core/1.9.5/mockito-core-1.9.5.jar)
> to method
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of
> org.mockito.cglib.core.ReflectUtils$2
> 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
> Second:
> [INFO] --- maven-invoker-plugin:2.0.0:run (integration-t...
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)