Skip to content

Commit 3a86ba7

Browse files
committed
fix warning: non-varargs call of varargs method with inexact argument type for last parameter
1 parent 7bb4cfa commit 3a86ba7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/java/com/wolfssl/provider/jsse/adapter/WolfSSLJDK8Helper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected static void setApplicationProtocols(final SSLParameters out,
132132
AccessController.doPrivileged(new PrivilegedAction<Object>() {
133133
public Object run() {
134134
try {
135-
m.invoke(out, appProtos);
135+
m.invoke(out, (Object[])appProtos);
136136
} catch (Exception e) {
137137
throw new RuntimeException(e);
138138
}

0 commit comments

Comments
 (0)