RFR(S) 8226645: [TESTBUG] some AppCDS tests relies on illegal reflective access

Alan Bateman Alan.Bateman at oracle.com
Tue Aug 13 08:08:54 UTC 2019


On 13/08/2019 08:56, David Holmes wrote:
>
> Sorry I don't quite see the connection between that test and the use 
> of Utils.defineModifiedClass and the use of lookup(). ?? The type of 
> classloader should not be relevant.
Right, it's not relevant. Each of the tests just needs to get a Lookup 
to a class in the target run-time package. In a few cases they will do 
this with privateLookupIn.

-Alan


More information about the hotspot-runtime-dev mailing list