<< Back to previous view

[QB-3493] com.pmease.quickbuild.bootstrap.Bootstrap illegal reflective access
Created: 06/Feb/20  Updated: 07/Feb/20

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 9.0.23
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Jonathan Shelton Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows 10 64-bit, Eclipse IDE 2019-12, OpenJDK 11


 Description   
Eclipse 2019-12 reports an illegal reflective access operation whenbootstrapping QuickBuild. It is displayed as a warning and allows the operation, alerting of these operations being denied in a future release.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.pmease.quickbuild.bootstrap.Bootstrap (file:/E:/Dev/QuickBuild/quickbuild-9.0.23/plugins/com.pmease.quickbuild.bootstrap/) to field java.lang.ClassLoader.sys_paths
WARNING: Please consider reporting this to the maintainers of com.pmease.quickbuild.bootstrap.Bootstrap
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

 Comments   
Comment by Robin Shen [ 07/Feb/20 01:15 AM ]
Please add below JVM arguments to your launch configuration:

-XX:+IgnoreUnrecognizedVMOptions
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.text=ALL-UNNAMED
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
--add-opens=java.xml/com.sun.org.apache.xerces.internal.parsers=ALL-UNNAMED
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
Generated at Fri May 03 00:54:30 UTC 2024 using JIRA 189.