Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8247677

Println wrong class name in java.sql.DriverManager

XMLWordPrintable

    • b06
    • x86, x86_64
    • linux_ubuntu, os_x, windows_10
    • Verified

      ADDITIONAL SYSTEM INFORMATION :
      It exists since JDK 8.0 at least.

      A DESCRIPTION OF THE PROBLEM :
      https://github.com/openjdk/jdk/blob/cba097aaab981799e4bfbcba65be4600e3b67e2b/src/java.sql/share/classes/java/sql/DriverManager.java#L452
      https://github.com/openjdk/jdk/blob/cba097aaab981799e4bfbcba65be4600e3b67e2b/src/java.sql/share/classes/java/sql/DriverManager.java#L690

      I'm pretty sure
      println(" skipping: " + aDriver.getClass().getName());
      should be
      println(" skipping: " + aDriver.driver.getClass().getName());


            lancea Lance Andersen
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: