< prev index next >

test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainReflection.java

Print this page
*** 26,9 ***
  import jdk.incubator.foreign.*;
  import java.lang.reflect.Method;
  
  public class PanamaMainReflection {
     public static void main(String[] args) throws Throwable {
!        Method method = CLinker.class.getDeclaredMethod("getInstance");
         method.invoke(null);
     }
  }
--- 26,9 ---
  import jdk.incubator.foreign.*;
  import java.lang.reflect.Method;
  
  public class PanamaMainReflection {
     public static void main(String[] args) throws Throwable {
!        Method method = CLinker.class.getDeclaredMethod("systemCLinker");
         method.invoke(null);
     }
  }
< prev index next >