On 10/01/17 17:54, Alan Bateman wrote: > Could you use MethodsHandles.privateLookupIn here instead?
Ah, that's very interesting! -- I have been on holiday since the start of December so I missed seeing this get pushed into JDK9. Thanks for pointing it out. I believe this API will do all that I need. I'll try it out asap. regards, Andrew Dinn ----------- Senior Principal Software Engineer Red Hat UK Ltd Registered in England and Wales under Company Registration No. 03798903 Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander