Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

WARNING: An illegal reflective access operation has occurred #8

Open
cvarela opened this issue May 24, 2021 · 0 comments
Open

WARNING: An illegal reflective access operation has occurred #8

cvarela opened this issue May 24, 2021 · 0 comments
Assignees

Comments

@cvarela
Copy link
Member

cvarela commented May 24, 2021

Warning messages are displayed when running the application. This requires review to determine the change to be made to avoid incorrect operation with new Java versions.

Messages:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.dattack.jtoolbox.jdbc.DataSourceClasspathDecorator (file:/opt/bin/dbcopy/latest/lib/jtoolbox-core-0.3.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of com.dattack.jtoolbox.jdbc.DataSourceClasspathDecorator
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
May 24, 2021 1:12:01 PM com.dattack.jtoolbox.jdbc.DataSourceClasspathDecorator configureClasspath
WARNING: object is not an instance of declaring class

Environment:

$ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
Eclipse OpenJ9 VM (build openj9-0.20.0, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20200416_527 (JIT enabled, AOT enabled)
OpenJ9   - 05fa2d361
OMR      - d4365f371
JCL      - cfa47e66cd based on jdk8u252-b09)
@cvarela cvarela self-assigned this May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant