You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Branko Čibej (JIRA)" <ji...@apache.org> on 2016/04/22 08:25:12 UTC
[jira] [Commented] (SVN-4628) Classes with native methods
unnecessarily load the svnjavahl-1 native library
[ https://issues.apache.org/jira/browse/SVN-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253436#comment-15253436 ]
Branko Čibej commented on SVN-4628:
-----------------------------------
(Please provide references to commits in the ASF Subversion repository. The thing on GitHub is just a read-only mirror and there's no reference to the original revision there.)
> Classes with native methods unnecessarily load the svnjavahl-1 native library
> -----------------------------------------------------------------------------
>
> Key: SVN-4628
> URL: https://issues.apache.org/jira/browse/SVN-4628
> Project: Subversion
> Issue Type: Bug
> Components: bindings_javahl
> Affects Versions: 1.9.0, 1.9.1, 1.9.2, 1.9.3
> Reporter: Marek Parfianowicz
>
> In this commit:
> https://github.com/apache/subversion/commit/fd00c8271282c7d7b0283f5e994feba0f00417be#diff-16c43c60e5af2f2a802701c33d649b26
> a static code has been added to load the native library to all classes having native methods.
> This is superfluous. Please note that subclasses can provide a non-native implementation of these native methods. So having a native library is actually not mandatory.
> There's a real problem with SVNKit, which provides a pure Java-based implementation of SVN protocol, that you cannot use it without having SVN binaries installed.
> Please have a look at this bug report for SVNKit 1.9.x:
> https://issues.tmatesoft.com/issue/SVNKIT-662
> which actually should be fixed on SVN side...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)