Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove Reflective Access when Loading OpenCV #1721

Closed
1 task
4e6 opened this issue May 4, 2021 · 0 comments · Fixed by #1727
Closed
1 task

Remove Reflective Access when Loading OpenCV #1721

4e6 opened this issue May 4, 2021 · 0 comments · Fixed by #1727
Assignees
Labels
p-high Should be completed in the next sprint

Comments

@4e6
Copy link
Contributor

4e6 commented May 4, 2021

Summary

There is a warning printed when the native OpenCV library is loaded:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.enso.image.opencv.OpenCV$SharedLoader to field java.lang.ClassLoader.usr_paths
WARNING: Please consider reporting this to the maintainers of org.enso.image.opencv.OpenCV$SharedLoader
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

Value

Remove deprecation warning.

Specification

  • Load native OpenCV library without using reflection.

Acceptance Criteria & Test Cases

  • No warning when loading the native OpenCV library.
@4e6 4e6 added Type: Enhancement p-high Should be completed in the next sprint labels May 4, 2021
@4e6 4e6 self-assigned this May 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
p-high Should be completed in the next sprint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant