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

Unchecked warnings in jdbc4 test suite

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Test
    • Labels:
      None

      Description

      I see the following warning when I compile the JDBC 4 tests:

      compile_jdbc4:
      [javac] Compiling 31 source files to /code/derby/trunk/classes
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.

      1. unchecked.diff
        5 kB
        Knut Anders Hatlen

        Activity

        Hide
        knutanders Knut Anders Hatlen added a comment -

        The attached patch changes some variable declarations to use generics, and that silenced the compiler. I've verified that the jdbc4 suite still runs cleanly with these changes.

        Show
        knutanders Knut Anders Hatlen added a comment - The attached patch changes some variable declarations to use generics, and that silenced the compiler. I've verified that the jdbc4 suite still runs cleanly with these changes.
        Hide
        knutanders Knut Anders Hatlen added a comment -

        Committed revision 1029453.

        Show
        knutanders Knut Anders Hatlen added a comment - Committed revision 1029453.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development