changeset 6282:9452e451224a

8009814: Better driver management Reviewed-by: alanb, skoivu
author lancea
date Sat, 16 Mar 2013 10:08:14 -0400
parents 49a3711e4c99
children 48aff3ba41eb
files src/share/classes/java/sql/DriverManager.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/sql/DriverManager.java	Fri Mar 15 17:59:10 2013 +0100
+++ b/src/share/classes/java/sql/DriverManager.java	Sat Mar 16 10:08:14 2013 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -516,7 +516,7 @@
                  */
                 try{
                     while(driversIterator.hasNext()) {
-                        println(" Loading done by the java.util.ServiceLoader :  "+driversIterator.next());
+                        driversIterator.next();
                     }
                 } catch(Throwable t) {
                 // Do nothing