Getting "An illegal reflective access operation has occurred" with AdoptOpenJDK 12

0 votes
asked Apr 3 in Bug by syrdbaw4 (160 points)
I recently upgraded from OpenJDK 11 (java-11-openjdk-11.0.2.7-1.windows.ojdkbuild.x86_64.msi) to AdoptOpenJDK 12 (OpenJDK12U-jdk_x64_windows_hotspot_12_33.msi) in order to attempt to workaround some other runtime glitches.

After doing this, I started getting the following warnings:

Error found in diagram DashStructure
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sourceforge.plantuml.svg.SvgGraphics (file:/C:/Users/saares/Google%20Drive/Tools/plantuml.jar) to constructor com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl()
WARNING: Please consider reporting this to the maintainers of net.sourceforge.plantuml.svg.SvgGraphics
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

I am unable to reproduce this from the command line at the moment - this is from the Visual Studio Code plugin - but I thought I would post this anyway in case this is some known issue or something new that deserves attention.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...