[ 
https://issues.apache.org/jira/browse/OCM-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17764386#comment-17764386
 ] 

Michael Dürig commented on OCM-72:
----------------------------------

[~linqq] , here's a patch to get started: 
[^Replace_cglib_with_ByteBuddy_for_creating_dynamic_proxies.patch]

However as a prerequisite you need to update the project to Java 11 first 
otherwise the changes won't compile. Also the dependency change from cglib to 
bytebuddy in the pom is not included. You need to do this manually.

> Remove dependency to cglib
> --------------------------
>
>                 Key: OCM-72
>                 URL: https://issues.apache.org/jira/browse/OCM-72
>             Project: Jackrabbit OCM
>          Issue Type: Improvement
>    Affects Versions: 1.6.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>            Priority: Major
>         Attachments: 
> Replace_cglib_with_ByteBuddy_for_creating_dynamic_proxies.patch
>
>
> The [cglib|https://github.com/cglib/cglib] library does not work with Java 17 
> and should be replaced with something else. If there is some interest from 
> the community I could send a patch for migrating to 
> [ByteBuddy|https://bytebuddy.net/#/] based on some code for creating dynamic 
> proxies with [ProxyBuddy|https://github.com/mduerig/ProxyBuddy].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to