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

Add final keyword to new method in SSLParameters

XMLWordPrintable

    • b63
    • Verified

      In case of any improper override of the implementation, need to add final keyword to new method in SSLParameters in JDK 8.

      - public void setServerNames(List<SNIServerName> serverNames)
      + public final void setServerNames(List<SNIServerName> serverNames)

      - public List<SNIServerName> getServerNames()
      + public final List<SNIServerName> getServerNames();

      - public void setSNIMatchers(Collection<SNIMatcher> matchers)
      + public final void setSNIMatchers(Collection<SNIMatcher> matchers)

      - public Collection<SNIMatcher> getSNIMatchers()
      + public final Collection<SNIMatcher> getSNIMatchers()

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: