noclass.java

来自「this gcc-g++-3.3.1.tar.gz is a source fi」· Java 代码 · 共 26 行

JAVA
26
字号
// Test to make sure JNI implementation catches exceptions.public class noclass{  static  {    System.loadLibrary ("noclass");  }  public static native void find_it ();  public static void main (String[] args)  {    try      {	find_it ();      }    catch (Throwable _)      {	// If find_it() causes a crash, or doesn't throw an exception,	// we won't be running this next line.	System.out.println ("Ok");      }  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?