rev 55686 : 8227587: Add internal privileged System.loadLibrary Reviewed-by: rriggs, mchung
@@ -2272,8 +2272,13 @@ } public void setCause(Throwable t, Throwable cause) { t.setCause(cause); } + + public void loadLibrary(Class<?> klass, String library) { + assert library.indexOf(java.io.File.separatorChar) < 0; + ClassLoader.loadLibrary(klass, library, false); + } }); } }