src/share/classes/java/net/DatagramPacket.java
Print this page
*** 45,55 ****
/**
* Perform class initialization
*/
static {
java.security.AccessController.doPrivileged(
! new sun.security.action.LoadLibraryAction("net"));
init();
}
/*
* The fields of this class are package-private since DatagramSocketImpl
--- 45,60 ----
/**
* Perform class initialization
*/
static {
java.security.AccessController.doPrivileged(
! new java.security.PrivilegedAction<Void>() {
! public Void run() {
! System.loadLibrary("net");
! return null;
! }
! });
init();
}
/*
* The fields of this class are package-private since DatagramSocketImpl