Andrus Adamchik created CAY-2999:
------------------------------------

             Summary: Modeler: A restricted method in java.lang.System has been 
called
                 Key: CAY-2999
                 URL: https://issues.apache.org/jira/browse/CAY-2999
             Project: Cayenne
          Issue Type: Improvement
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 5.0-M4


Getting the following warning on Modeler startup due to the use of native 
libraries in FlatLaf. Will need to add "--enable-native-access=ALL-UNNAMED" to 
Windows and Mac assemblies. 

{noformat}
main JRE v.25.0.1 at 
/Library/Java/JavaVirtualMachines/temurin-25.jdk/Contents/Home
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by 
com.formdev.flatlaf.util.NativeLibrary in an unnamed module 
(file:/Users/andrus/.m2/repository/com/formdev/flatlaf/3.7.1/flatlaf-3.7.1.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
{noformat}



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

Reply via email to