Suppress cast warnings when using NIO buffers

XMLWordPrintable

    • b38
    • Not verified

        The fix for JDK-4774077 introduces covariant return types in the NIO buffer hierarchy.

        This will introduce redundant casts (and because of -Werror a build failure) in langtools when compiling with JDK 9, but the casts are still required when bootstrapping with JDK 8.

              Assignee:
              Richard Warburton (Inactive)
              Reporter:
              Paul Sandoz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: