7042979: Rename StandardSocketOption and StandardWatchEventKind

Alan Bateman Alan.Bateman at oracle.com
Mon May 9 02:39:31 PDT 2011


The recent discussion on whether the class defining the standard 
charsets be named StandardCharset or StandardCharsets raises the 
question for three other classes that are also new in jdk7:

java.net.StandardSocketOption
java.nio.file.StandardWatchEventKind
com.sun.nio.sctp.SctpStandardSocketOption (part of the SCTP API)

Given the decision to rename StandardCharset it would be inconsistent if 
we didn't rename these too. To that end, and disruptive as it might be, 
the webrev with the changes is here:
  http://cr.openjdk.java.net/~alanb/7042979/webrev/

Thanks,

-Alan.



More information about the nio-dev mailing list