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

Println wrong class name in java.sql.DriverManager

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      x86, x86_64
    • OS:
      linux_ubuntu, os_x, windows_10
    • Verification:
      Verified

      Description

      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());


        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: