Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4868

Remove Types.BIT/Types.BOOLEAN switch in JVMInfo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.7.1.1
    • 10.7.1.1
    • SQL
    • None

    Description

      JVMInfo contains code to switch between using Types.BIT and Types.BOOLEAN based on the JVM version. This was needed when we supported Java 1.3, since Types.BOOLEAN was introduced in Java 1.4 and so Types.BIT had to be used instead on old platforms. Currently, all supported JDBC versions (including JSR-169 for small devices) have Types.BOOLEAN, so the code is no longer needed.

      Attachments

        1. bit-boolean.diff
          3 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: