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

When building with JAVAC_MAX_WARNINGS=true, the build fails in sun/nio/cs due to the use of -Werror

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • None

      When building with JAVAC_MAX_WARNINGS=true, the build fails in
      sun/nio/cs due to the use of -Werror.

      The following webrev:

      http://cr.openjdk.java.net/~andrew/warnings/webrev.03/

      fixes the remaining warnings exposed by JAVAC_MAX_WARNINGS by:

      * Removing redundant casts
      * Adding generic types to a number of List, Map and Class instances
      * Turning off deprecation warnings locally in make/sun/nio/cs/Makefile

            sherman Xueming Shen
            sherman Xueming Shen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: