@@ -365,10 +365,15 @@ * Returns the first non-null class loader up the execution stack, * or null if only code from the null class loader is on the stack. */ public static native ClassLoader latestUserDefinedLoader(); + /** + * Returns {@code true} if we are in a set UID program. + */ + public static native boolean isSetUID(); + static { initialize(); } private native static void initialize(); }