commit | c030491f21ba8f270fccbac6956d2bed0655a4ee | [log] [tgz] |
---|---|---|
author | Thomas Watson <tjwatson@us.ibm.com> | Tue Mar 23 17:42:54 2021 -0500 |
committer | Alexander Kurtakov <akurtako@redhat.com> | Wed Mar 24 06:39:31 2021 -0400 |
tree | 891464501f0df377a938e5daedb9af8b24ee02ea | |
parent | 047b1b3e0807c18004027fbfcd44a97be1012309 [diff] |
Bug 572212 - Avoid reflecting on JRE boot classes in tests Java 16 tightens the reflective rules to obey the Java module opens rules by default. This changes instead reflects on methods of the framework implementation class for the bundle class loader. This change will fail if somehow the tests run with the framework implementation loaded in a ModuleLayer. Change-Id: I9de041666313d6829f1009c7b3c8284013b4c558 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>