Local method in java.lang

xiaoxiao2021-03-13  186

(14) Public native int getModifiers (); (15) public native object [] getsigners (); (16) native void setsigners (Object [] signers); (17) public native class getDeclass (); (18) private native java.security.ProtectionDomain getProtectionDomain0 (); (19) native void setProtectionDomain0 (java.security.ProtectionDomain pd); (20) static native Class getPrimitiveClass (String name); (21) private native Field [] getFields0 (int which); (22) private native Method [] getMethods0 (int which); (23) private native Constructor [] getConstructors0 (int which); (24) private native Field getField0 (String name, int which); (25) private native Method getMethod0 (String name, Class [] parameterTypes, int which); (26) private native Constructor getConstructor0 (Class [] parameterTypes, int which); (27) private native Class [] getDeclaredClasses0 (); 15 java.lang.ClassCastException no. 16. Java.lang.classcialcularityError No 17. Java.lang.classFormaterror None 18. Java.lang.classLoader (1) Private Nativ e Class defineClass0 (String name, byte [] b, int off, int len, ProtectionDomain pd); (2) private native void resolveClass0 (Class c); (3) private native Class findBootstrapClass (String name) throws ClassNotFoundException; (4 ) protected native final Class findLoadedClass (String name); (5) static native ClassLoader getCallerClassLoader (); (6) native void load (String name); (7) native long find (String name); (8) native void unload ( ); 19 java.lang.ClassNotFoundException 20. java.lang.Cloneable None None None 21. CloneNotSupportedException.java 22. java.lang.Comparable None 23. java.lang.Compiler (1) private static native void initialize ().; (2) Private static native void registernatives ();

(3) public static native boolean compileClass (Class clazz); (4) public static native boolean compileClasses (String string); (5) public static native Object command (Object any); (6) public static native void enable (); (7) Public static native void disable (); 24. Java.lang.Error no 25. Java.lang.Exception No 26. java.lang.exceptioninInitializerrror None 27. Java.lang.FloatingDecimal No 28. Java.lang.illegalaccesSserror 29. java.lang.IllegalAccessException None None None 31. IllegalMonitorStateException.java 30. java.lang.IllegalArgumentException 32. IllegalStateException.java None None None 34. IncompatibleClassChangeError.java 33. IllegalThreadStateException.java 35. IndexOutOfBoundsException.java None None 36. InheritableThreadLocal .java no 37. Instantiationerror.java no 38.instantiationException.java no 39. Math.java (1) Public static native double sin (double a); public static native double cos (double a); public static native Double Tan (Double A); PUBLE a); public static native double asin (double a); public static native Double ACOS (Doubl ea); public static native double atan (double a); public static native double exp (double a); public static native double log (double a); public static native double sqrt (double a); public static native double IEEEremainder (double F1, Double F2); Public Static Native Double CEIL (Double A); Double A); Public Static Native Double Rint (Double A); Public Static Native Double Atan2 (Double A, Double B); Public Sitting B); Public Static Native Double Atan2 (PUBLIC Static Native Double Pow (Double A, Double B); 40 package.java public static native Double Pow (Double A, Double B); Private Static Native String [] getSystemPackages0 ();

41. Runtime.java private native void exitInternal (int status); private static native void runFinalizersOnExit0 (boolean value); private native Process execInternal (String cmdarray [], String envp []) throws IOException; public native long freeMemory (); public native long totalMemory (); public native void gc (); public native void traceInstructions (boolean on); public native void traceMethodCalls (boolean on); 42 SecurityManager.java protected native Class [] getClassContext (); private native ClassLoader currentClassLoader0 () ; protected native int classDepth (String name); private native int classLoaderDepth0 (); private native Class currentLoadedClass0 (); 43 System.java private static native void registerNatives (); private static native void setIn0 (InputStream in); private static native void Setin0 (InputStream IN); Private Static Native Void SetOut0 (Private Static Native Void Seterr0); Public Static Native Long CurrentTimeMillis (); PU blic static native void arraycopy (Object src, int src_position, Object dst, int dst_position, int length); public static native int identityHashCode (Object x); private static native Properties initProperties (Properties props); public static native String mapLibraryName (String libname );. 44 Thread.java public static native Thread currentThread (); public static native void yield (); public static native void sleep (long millis) throws InterruptedException; public synchronized native void start (); private native boolean isInterrupted (boolean ClearInterrupted ); Public final native boolean isalive (); public native int countStackframes (); Private native void setPriority0 (int newpriority); Private Native Void Stop0 (Object O);

private native void suspend0 (); private native void resume0 (); private native void interrupt0 (); 43.Throwable.java private native void printStackTrace0 (Object s); private native void printStackTrace0 (Object s); public native Throwable fillInStackTrace () ; 1. java.lang.string public native string in ();

转载请注明原文地址:https://www.9cbs.com/read-129069.html

New Post(0)