Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6236 Remove references to old JVMs (pre-Java 6) from the user guides
  3. DERBY-6459

Remove Class.forName calls that load JDBC driver from Derby samples/demos

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.11.1.1
    • 10.11.1.1
    • Demos/Scripts
    • None

    Description

      Several of the Derby samples and demos call Class.forName to load the JDBC driver, although this is not necessary at Java SE 6 and later. Since at 10.11 we won't support versions of the platform earlier than JDK 6, these calls should be removed from the samples (and any mention of them removed from the accompanying documentation).

      There are calls to Class.forName that load other objects besides the driver; I assume these are still needed, but if not, they could be replaced with something more current.

      Attachments

        1. DERBY-6459.diff
          67 kB
          Camilla Haase
        2. DERBY-6459.stat
          1.0 kB
          Camilla Haase
        3. DERBY-6459-2.diff
          66 kB
          Camilla Haase
        4. DERBY-6459-3.diff
          0.7 kB
          Camilla Haase

        Issue Links

          Activity

            People

              chaase3 Camilla Haase
              chaase3 Camilla Haase
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: