PR18116.java 302 B

1234567891011121314151617
  1. // PR18116.java - Test RegisterNatives with more complex signatures.
  2. public class PR18116
  3. {
  4. static
  5. {
  6. System.loadLibrary ("PR18116");
  7. }
  8. public static native int doit (java.lang.String s);
  9. public static void main (String[] args)
  10. {
  11. System.out.println (doit ("Hello World!"));
  12. }
  13. }