Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902241

Suppress warnings from new versions of JT Harness

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg4.2
    • None
    • tools
    • None
    • b13

      The code in JT Harness is finally being converted to use generics, and this is causing some warnings in jtreg for unnecessary casts, etc, which in turn cause build failures due to using -Werror.

      Rather than stop using -Werror, or generally suppressing certain warnings with -Xlint:-... it is better to (temporarily) use @SuppressWarnings in the affected places, so that the jtreg code will compile on recent (non-generic) and newer (generic) versions of JT Harness. Once we commit to using the newer (generic) version of JT Harness, the code can be clean up, to remove casts and other workarounds, as well as the @SuppressWarnings.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: