equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007,2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
33 * |
33 * |
34 * @author Chris Hegarty |
34 * @author Chris Hegarty |
35 */ |
35 */ |
36 |
36 |
37 class DefaultDatagramSocketImplFactory { |
37 class DefaultDatagramSocketImplFactory { |
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 = AccessController.doPrivileged( |
43 prefix = AccessController.doPrivileged( |