This scenario only occurs when the class calling the interruptible method is part of a Thread, not a Runnable or general-purpose library code, as illustrated in Listing 5.
只有当调用可中断方法的类是 Thread 的一部分,而不是 Runnable 或通用库代码的情况下,才会发生这样的场景,清单 5 演示了这种情况。
When a native method is invoked, the class loader attempts to load the native library that defines that method.
当调用本机方法时,类装入器会尝试装入定义了该方法的本机库。
The exact object encoding method (including the presence of the ASCII class name) is an implementation detail and could change in future versions of the library.
正确的对象编码方法(包括在现在的ASCII类名中)是一个实现细节并且在库的以后版本中可以改变。
应用推荐