jdk/src/java.base/macosx/classes/sun/nio/ch/KQueueArrayWrapper.java
changeset 37781 71ed5645f17c
parent 37593 824750ada3d6
equal deleted inserted replaced
37780:06f3783b338f 37781:71ed5645f17c
    82     private int incomingInterruptFD;
    82     private int incomingInterruptFD;
    83 
    83 
    84     static {
    84     static {
    85         IOUtil.load();
    85         IOUtil.load();
    86         initStructSizes();
    86         initStructSizes();
    87         String datamodel = GetPropertyAction.getProperty("sun.arch.data.model");
    87         String datamodel =
       
    88                 GetPropertyAction.privilegedGetProperty("sun.arch.data.model");
    88         is64bit = "64".equals(datamodel);
    89         is64bit = "64".equals(datamodel);
    89     }
    90     }
    90 
    91 
    91     KQueueArrayWrapper() {
    92     KQueueArrayWrapper() {
    92         int allocationSize = SIZEOF_KEVENT * NUM_KEVENTS;
    93         int allocationSize = SIZEOF_KEVENT * NUM_KEVENTS;