You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/04/11 18:21:28 UTC

svn commit: r1586711 - /subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp

Author: brane
Date: Fri Apr 11 16:21:27 2014
New Revision: 1586711

URL: http://svn.apache.org/r1586711
Log:
Fix a NoSuchMethod exception in JavaHL when creating an RA connection
to a misconfigured HTTP server that causes a redirect cycle.

* subversion/bindings/javahl/native/RemoteSession.cpp
  (RemoteSession::RemoteSession): Use the correct signature for the
   SubversionException constructor.

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

Modified: subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp?rev=1586711&r1=1586710&r2=1586711&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/RemoteSession.cpp Fri Apr 11 16:21:27 2014
@@ -252,7 +252,7 @@ RemoteSession::RemoteSession(int retryAt
       static jmethodID exctor = 0;
       if (exctor == 0)
         {
-          exctor = env->GetMethodID(excls, "<init>", "(J)V");
+          exctor = env->GetMethodID(excls, "<init>", "(Ljava/lang/String;)V");
           if (JNIUtil::isJavaExceptionThrown())
             return;
         }