jdk/src/macosx/classes/sun/nio/ch/DefaultSelectorProvider.java
changeset 12438 c1183d4a80d4
parent 12047 320a714614e9
child 14342 8435a30053c1
--- a/jdk/src/macosx/classes/sun/nio/ch/DefaultSelectorProvider.java	Mon Apr 16 11:12:10 2012 +0800
+++ b/jdk/src/macosx/classes/sun/nio/ch/DefaultSelectorProvider.java	Mon Apr 16 20:12:20 2012 +0100
@@ -4,7 +4,9 @@
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.
+ * published by the Free Software Foundation.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
  *
  * This code is distributed in the hope that it will be useful, but WITHOUT
  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -40,7 +42,7 @@
      * Returns the default SelectorProvider.
      */
     public static SelectorProvider create() {
-            return new sun.nio.ch.PollSelectorProvider();
+        return new sun.nio.ch.KQueueSelectorProvider();
     }
 
 }