On 10/01/2017 17:16, Andrew Dinn wrote:
: The version which uses Lookups only needs to tweak the exports for one module i.e. java.base. It modifies java.base to 'export open' package java.lang.invoke to the Byteman module. That then allows Byteman to call the private constructor for MethodHandle.Lookup()
Could you use MethodsHandles.privateLookupIn here instead?
-Alan