You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2018/04/12 04:25:00 UTC

[jira] [Commented] (GUACAMOLE-541) Webapp dependencies take precedence over bundled extension dependencies

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

Michael Jumper commented on GUACAMOLE-541:
------------------------------------------

This affects development of GUACAMOLE-220 (user groups) as part of those changes require upgrading MyBatis, which requires upgrading MyBatis Guice, which requires upgrading Google Guice, which conflicts with the version of Google Guice bundled with Guacamole.

> Webapp dependencies take precedence over bundled extension dependencies
> -----------------------------------------------------------------------
>
>                 Key: GUACAMOLE-541
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-541
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>            Reporter: Michael Jumper
>            Priority: Minor
>
> While extensions are properly isolated from each other with separate {{ClassLoader}} instances, extensions still need to inherit classes from the main Guacamole webapp, such as those defined within guacamole-ext. This inheritance does not work as expected if an extension depends on a different version of a library which Guacamole already depends on: classes inherited from Guacamole take priority, overriding classes within the bundled dependency, possibly breaking the extension.
> Classes defined within the bundled dependencies of an extension should take precedence over the classes inherited from Guacamole.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)