← Back to team overview

sikuli-driver team mailing list archive

[Bug 1749262] Re: [1.1.2] Java9: IDE: Warnings illegal reflective access operation --- have to be accepted, not a problem

 

** Changed in: sikuli
    Milestone: 1.1.3 => 1.1.4

** Summary changed:

- [1.1.2] Java9: IDE: Warnings illegal reflective access operation --- have to be accepted, not a problem
+ [1.1.4] Java9+: IDE: Warnings illegal reflective access operation --- have to be accepted, not a problem

** Summary changed:

- [1.1.4] Java9+: IDE: Warnings illegal reflective access operation --- have to be accepted, not a problem
+ [1.1.4] Java9+: IDE: Warnings illegal reflective access operation --- have to be accepted for now, not a problem

** Description changed:

  ------------------------- comment
  this kind of warnings have to be accepted - they cannot be switched off.
- earliest with Java 10 later this year, it might get a problem.
- I will only fix things, that prevent THE USE of SikuliX with Java 9.
+ earliest with Java 11 or even later, it might get a problem.
+ I will only fix things, that prevent THE USE of SikuliX with Java 11+.
  
  These warnings do not prevent the usage of SikuliX.
  ----------------------------------------------------------
  
  on Mac:
  -------------------------
  running SikuliX: ./SikuliX.app/Contents/Java/sikulix.jar
  [error] RunTimeINIT: ***** BE AWARE: Running on Java 9 - Please report problems *****
  [info] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
  [info] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.sikuli.ide.CloseableModernTabbedPaneUI (file:/Users/xx/sikulix/SikuliX.app/Contents/Java/sikulix.jar) to constructor javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String)
  WARNING: Please consider reporting this to the maintainers of org.sikuli.ide.CloseableModernTabbedPaneUI
  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
  
  on Windows:
  -----------------------------------
  [error] RunTimeINIT: ***** BE AWARE: Running on Java 9 - Please report
  problems *****
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.sikuli.script.RunTime
  (file:/E:/p-tools/sikulix/sikulix.jar) to field
  java.lang.ClassLoader.usr_paths
  WARNING: Please consider reporting this to the maintainers of
  org.sikuli.script.RunTime
  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

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1749262

Title:
  [1.1.4] Java9+: IDE: Warnings illegal reflective access operation ---
  have to be accepted for now, not a problem

Status in Sikuli:
  In Progress

Bug description:
  ------------------------- comment
  this kind of warnings have to be accepted - they cannot be switched off.
  earliest with Java 11 or even later, it might get a problem.
  I will only fix things, that prevent THE USE of SikuliX with Java 11+.

  These warnings do not prevent the usage of SikuliX.
  ----------------------------------------------------------

  on Mac:
  -------------------------
  running SikuliX: ./SikuliX.app/Contents/Java/sikulix.jar
  [error] RunTimeINIT: ***** BE AWARE: Running on Java 9 - Please report problems *****
  [info] HotkeyManager: add Capture Hotkey: ⌘+⇧ 2 (50, 5)
  [info] HotkeyManager: add Abort Hotkey: ⌘+⇧ C (67, 5)
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.sikuli.ide.CloseableModernTabbedPaneUI (file:/Users/xx/sikulix/SikuliX.app/Contents/Java/sikulix.jar) to constructor javax.swing.plaf.basic.BasicTabbedPaneUI$Actions(java.lang.String)
  WARNING: Please consider reporting this to the maintainers of org.sikuli.ide.CloseableModernTabbedPaneUI
  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

  on Windows:
  -----------------------------------
  [error] RunTimeINIT: ***** BE AWARE: Running on Java 9 - Please report
  problems *****
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.sikuli.script.RunTime
  (file:/E:/p-tools/sikulix/sikulix.jar) to field
  java.lang.ClassLoader.usr_paths
  WARNING: Please consider reporting this to the maintainers of
  org.sikuli.script.RunTime
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1749262/+subscriptions


References