You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2011/08/12 17:10:15 UTC
JavaHL Bug in SVN 1.7
Just ran into this bug in Subclipse.
In the JavaHL native code in JNIUtil.h there is this code:
static void throwError(const char *message)
{
raiseThrowable(JAVA_PACKAGE"/JNIError", message);
}
There is a class in the old JavaHL package with this name, but there is no
class in the new JavaHL package with this name. From what I can see it is
not in any of the other packages either. So what happens at runtime is you
get an error like this:
java.lang.NoClassDefFoundError: org/apache/subversion/javahl/JNIError
I would assume the best fix is to simply move this class from the
org.tigris.subversion.javahl package to org.apache.subversion.javahl
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Re: JavaHL Bug in SVN 1.7
Posted by Mark Phippard <ma...@gmail.com>.
On Sat, Aug 13, 2011 at 3:57 PM, Mark Phippard <ma...@gmail.com> wrote:
> On Sat, Aug 13, 2011 at 6:59 AM, Patrick Mayweg <ma...@qint.de> wrote:
>
>> Hello Mark,
>> you should definitely move the class. As the name suggests, I used the
>> class to throw error from the native code.
>>
>
> Thanks for the confirmation. Will commit and nominate fix shortly.
>
>
Committed r1157416 and nominated for backport.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Re: JavaHL Bug in SVN 1.7
Posted by Mark Phippard <ma...@gmail.com>.
On Sat, Aug 13, 2011 at 6:59 AM, Patrick Mayweg <ma...@qint.de> wrote:
> Hello Mark,
> you should definitely move the class. As the name suggests, I used the
> class to throw error from the native code.
>
Thanks for the confirmation. Will commit and nominate fix shortly.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Re: JavaHL Bug in SVN 1.7
Posted by Patrick Mayweg <ma...@qint.de>.
Hello Mark,
you should definitely move the class. As the name suggests, I used the
class to throw error from the native code.
Regards,
Patrick
Am 12.08.2011 17:10, schrieb Mark Phippard:
> Just ran into this bug in Subclipse.
>
> In the JavaHL native code in JNIUtil.h there is this code:
>
> static void throwError(const char *message)
> {
> raiseThrowable(JAVA_PACKAGE"/JNIError", message);
> }
>
> There is a class in the old JavaHL package with this name, but there
> is no class in the new JavaHL package with this name. From what I can
> see it is not in any of the other packages either. So what happens at
> runtime is you get an error like this:
>
> java.lang.NoClassDefFoundError: org/apache/subversion/javahl/JNIError
>
> I would assume the best fix is to simply move this class from the
> org.tigris.subversion.javahl package to org.apache.subversion.javahl
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
--
Qint Software GmbH
Fichtenstr. 19
82110 Germering
+49 89 89026749
Sitz: München HRB 117326
Geschäftsführer: Hans Marggraff, Patrick Mayweg