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

Karl Heinz Marbaise updated MNG-8248:
-------------------------------------
    Affects Version/s: 3.9.7
                       3.9.6
                       3.9.5
                       3.9.4
                       3.9.3
                       3.9.2
                       3.9.1
                       3.9.0
                       3.8.8
                       3.8.7
                       3.8.6
                       3.8.5
                       3.8.4
                       3.8.3
                       3.8.2
                       3.8.1

> WARNING: A restricted method in java.lang.System has been called
> ----------------------------------------------------------------
>
>                 Key: MNG-8248
>                 URL: https://issues.apache.org/jira/browse/MNG-8248
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.8.1, 3.8.2, 3.8.3, 3.8.4, 3.8.5, 3.8.6, 3.8.7, 3.8.8, 
> 3.9.0, 3.9.1, 3.9.2, 3.9.3, 3.9.4, 3.9.5, 3.9.6, 3.9.7, 4.0.0-beta-3, 3.9.8, 
> 3.9.9, 4.0.0-beta-4
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 4.0.x-candidate
>
>
> Building a project with JDK 24.ea.13 produces the following WARNING:
> {code}
> $> mvn clean verify
> WARNING: A restricted method in java.lang.System has been called
> WARNING: java.lang.System::load has been called by 
> org.jline.nativ.JLineNativeLoader in an unnamed module 
> (file:/Users/khm/tools/maven/lib/jline-3.26.3.jar)
> WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for 
> callers in this module
> WARNING: Restricted methods will be blocked in a future release unless native 
> access is enabled
> {code}
> Also opened an issue on JLine3 Project: 
> https://github.com/jline/jline3/issues/1067



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to