subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1599258 - /subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp
Date Mon, 02 Jun 2014 16:30:45 GMT
Author: brane
Date: Mon Jun  2 16:30:44 2014
New Revision: 1599258

URL: http://svn.apache.org/r1599258
Log:
Fix method signatures in JavaHL's AuthnCallback.

[in subversion/bindings/javahl]
* native/AuthnCallback.cpp
  (::JavaHL::AuthnCallback::static_init): Fix invalid method signatures.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp?rev=1599258&r1=1599257&r2=1599258&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/AuthnCallback.cpp Mon Jun  2 16:30:44
2014
@@ -47,36 +47,36 @@ void AuthnCallback::static_init(::Java::
     env.GetMethodID(cls, "usernamePrompt",
                     "(Ljava/lang/String;Z)"
                     "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$UsernameResult");
+                    "$UsernameResult;");
 
   m_mid_user_password_prompt =
     env.GetMethodID(cls, "userPasswordPrompt",
-                    "(Ljava/lang/String;"
-                    "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$SSLServerCertFailures"
-                    "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$SSLServerCertInfo"
-                    "Z)"
+                    "(Ljava/lang/String;Ljava/lang/String;Z)"
                     "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$SSLServerTrustResult");
+                    "$UserPasswordResult;");
 
   m_mid_ssl_server_trust_prompt =
     env.GetMethodID(cls, "sslServerTrustPrompt",
-                    "(Ljava/lang/String;Ljava/lang/String;Z)"
+                    "(Ljava/lang/String;"
+                    "L"JAVA_PACKAGE"/callback/AuthnCallback"
+                    "$SSLServerCertFailures;"
                     "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$UserPasswordResult");
+                    "$SSLServerCertInfo;"
+                    "Z)"
+                    "L"JAVA_PACKAGE"/callback/AuthnCallback"
+                    "$SSLServerTrustResult;");
 
   m_mid_ssl_client_cert_prompt =
     env.GetMethodID(cls, "sslClientCertPrompt",
                     "(Ljava/lang/String;Z)"
                     "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$SSLClientCertResult");
+                    "$SSLClientCertResult;");
 
   m_mid_ssl_client_cert_passphrase_prompt =
     env.GetMethodID(cls, "sslClientCertPassphrasePrompt",
                     "(Ljava/lang/String;Z)"
                     "L"JAVA_PACKAGE"/callback/AuthnCallback"
-                    "$SSLClientCertPassphraseResult");
+                    "$SSLClientCertPassphraseResult;");
 
   m_mid_allow_store_plaintext_password =
     env.GetMethodID(cls, "allowStorePlaintextPassword",
@@ -132,7 +132,7 @@ AuthnCallback::SSLServerCertFailures::SS
 
 // Class JavaHL::AuthnCallback::SSLServerCertInfo
 const char* const AuthnCallback::SSLServerCertInfo::m_class_name =
-  JAVA_PACKAGE"/callback/AuthnCallback$SSLServerCertFailures";
+  JAVA_PACKAGE"/callback/AuthnCallback$SSLServerCertInfo";
 
 ::Java::MethodID AuthnCallback::SSLServerCertInfo::m_mid_ctor;
 



Mime
View raw message