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

Eliminate warnings from sun.io converters and allow compiling with JAVAC_MAX_WARNINGS=true

XMLWordPrintable

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

      make/java/sun_nio/Makefile compiles with -Xlint:serial -Werror and so fails when compiling with JAVAC_MAX_WARNINGS=true due to the deprecated sun.io converters. In addition, there are several unnecessary casts and raw type warnings that can be removed from this code. See this discussion:

      http://mail.openjdk.java.net/pipermail/nio-dev/2010-January/000887.html

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: