2

I'm trying to figure out what I pass to --add-opens to make this warning go away. Does anyone know?

WARNING: Illegal reflective access by com.sleepycat.je.utilint.JVMSystemUtils (file:/home/.m2/repository/com/sleepycat/je/7.0.6/je-7.0.6.jar) to method sun.management.BaseOperatingSystemImpl.getSystemLoadAverage() WARNING: Please consider reporting this to the maintainers of com.sleepycat.je.utilint.JVMSystemUtils

crow
  • 1
  • 1
  • 10
  • 1
    It is explained in the `java` command reference: https://docs.oracle.com/en/java/javase/11/tools/java.html. Use --add-opens to open modules, use --illegal-access=... to help identify modules that need to be opened. – Stephen C Mar 16 '19 at 02:58
  • 2
    Also note that you are using an old version of Berkeley DB JA. The current one is 7.5.11. This *may have* fixed this, though the public changelog doesn't say so. If not, you could try to contact the vendor (Oracle!) and ask them when they plan to support Java 11. ('Cos I can't find any announcements ...) – Stephen C Mar 16 '19 at 03:22
  • thanks @StephenC wow, thats such a trip, its like getting help from my doppleganger – crow Mar 16 '19 at 04:21
  • It is fixed in the latest Berkeley DB jar , its just that your name is my name irl, funny. – crow Mar 16 '19 at 04:29

0 Answers0