Class JigsawAccessManager


  • public class JigsawAccessManager
    extends java.lang.Object
    Class used to construct a JigsawAccessEnabler needed when Byteman is running on JDK9+.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AccessEnabler init​(java.lang.instrument.Instrumentation inst)
      Create and return a JigsawAccessEnabler to manage enabling reflective access including accessing nonmembers of unexported module classes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JigsawAccessManager

        public JigsawAccessManager()
    • Method Detail

      • init

        public static AccessEnabler init​(java.lang.instrument.Instrumentation inst)
        Create and return a JigsawAccessEnabler to manage enabling reflective access including accessing nonmembers of unexported module classes.
        Parameters:
        inst - an Instrumentation instance which is needed enable access to members of non-exported module classes
        Returns:
        a JigsawAccessEnabler to manage enabling reflective access