equal
deleted
inserted
replaced
38 static Class<?> prefixImplClass = null; |
38 static Class<?> prefixImplClass = null; |
39 |
39 |
40 static { |
40 static { |
41 String prefix = null; |
41 String prefix = null; |
42 try { |
42 try { |
43 prefix = GetPropertyAction.getProperty("impl.prefix", null); |
43 prefix = GetPropertyAction.privilegedGetProperty("impl.prefix"); |
44 if (prefix != null) |
44 if (prefix != null) |
45 prefixImplClass = Class.forName("java.net."+prefix+"DatagramSocketImpl"); |
45 prefixImplClass = Class.forName("java.net."+prefix+"DatagramSocketImpl"); |
46 } catch (Exception e) { |
46 } catch (Exception e) { |
47 System.err.println("Can't find class: java.net." + |
47 System.err.println("Can't find class: java.net." + |
48 prefix + |
48 prefix + |