subversion-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marek Parfianowicz (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SVN-4628) Classes with native methods unnecessarily load the svnjavahl-1 native library
Date Fri, 22 Apr 2016 08:32:12 GMT

     [ https://issues.apache.org/jira/browse/SVN-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marek Parfianowicz updated SVN-4628:
------------------------------------
    Description: 
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...



================================================================================

You have a permission scheme in your JIRA configured incorrectly as I cannot add comments.
So let me answer your questions here:



  was:
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...



> 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
>            Assignee: Branko ─îibej
>
> 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...
> ================================================================================
> You have a permission scheme in your JIRA configured incorrectly as I cannot add comments.
So let me answer your questions here:



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message