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

(ch) rawtype warning in sun.nio.ch.InheritedChannel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b04
    • generic
    • generic
    • Verified

      The changes to remove warnings from the NIO code (7068616) missed src/solaris/classes/sun/nio/ch/InheritedChannel.java. This is not an issue when doing a full build because the class is compiled implicitly but when re-building then JAVAC_MAX_WARNINGS and JAVAC_WARNINGS_FATAL are set by make/java/nio/Makefile and so the warning is fatal.


      InheritedChannel.java:169: warning: [rawtypes] found raw type: Constructor
              Constructor ctr = Reflect.lookupConstructor("java.io.FileDescriptor",
              ^
        missing type arguments for generic class Constructor<T>
        where T is a type-variable:
          T extends Object declared in class Constructor
      1 warning

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: