equal
deleted
inserted
replaced
46 USE_NATIVE = |
46 USE_NATIVE = |
47 AccessController.doPrivileged(new PrivilegedAction<Boolean>() { |
47 AccessController.doPrivileged(new PrivilegedAction<Boolean>() { |
48 public Boolean run() { |
48 public Boolean run() { |
49 String osname = System.getProperty("os.name"); |
49 String osname = System.getProperty("os.name"); |
50 if (osname.startsWith("SunOS") || |
50 if (osname.startsWith("SunOS") || |
|
51 osname.contains("OS X") || |
51 osname.startsWith("Linux")) { |
52 osname.startsWith("Linux")) { |
52 return new Boolean(System.getProperty |
53 return new Boolean(System.getProperty |
53 (USE_NATIVE_PROP)); |
54 (USE_NATIVE_PROP)); |
54 } |
55 } |
55 return Boolean.FALSE; |
56 return Boolean.FALSE; |