We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c88885 commit 27bfc0bCopy full SHA for 27bfc0b
1 file changed
src/java/com/wolfssl/provider/jsse/WolfSSLImplementSSLSession.java
@@ -1158,7 +1158,7 @@ public synchronized List<SNIServerName> getRequestedServerNames()
1158
sniNames.add(sniName);
1159
this.sniServerNames = new ArrayList<SNIServerName>(sniNames);
1160
1161
- return sniNames;
+ return Collections.unmodifiableList(sniNames);
1162
}
1163
} catch (IllegalArgumentException e) {
1164
throw new UnsupportedOperationException(e);
0 commit comments