Can we add further enumeration values to java.net.StandardProtocolFamily? The spec does not say so, unlike javax.lang.model.SourceVersion, and the code in the JDK expects a binary flag, so I think the answer is "no".

Does this mean the expected way to add support for further protocol families would be to create a separate implementation of java.net.ProtocolFamily?

--
Florian Weimer / Red Hat Product Security Team

Reply via email to