RFR(M): 8199940: Print more information about class loaders in IllegalAccessErrors.

mandy chung mandy.chung at oracle.com
Tue Jun 26 14:55:05 UTC 2018

On 6/26/18 7:34 AM, Lindenmaier, Goetz wrote:
> Hi,
> I updated the change to use Lois' latest change.
> http://cr.openjdk.java.net/~goetz/wr18/8199940-exMsg-IllegalAccess/04/

Looks good.

A couple of suggestions for the test:

IAE_Loader1.java - you can use InputStream::readAllBytes instead of 

   79         this.notLoadable = new HashSet<>(Arrays.asList(notLoadable));

Alternatively, this.notLoadable = 


More information about the hotspot-runtime-dev mailing list