You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "Lenny Primak (Jira)" <ji...@apache.org> on 2022/12/02 00:57:00 UTC

[jira] [Resolved] (SHIRO-679) Shiro modules have split packages

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

Lenny Primak resolved SHIRO-679.
--------------------------------
    Resolution: Fixed

Checked and works with JPMS

> Shiro modules have split packages
> ---------------------------------
>
>                 Key: SHIRO-679
>                 URL: https://issues.apache.org/jira/browse/SHIRO-679
>             Project: Shiro
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Timothy James Ward
>            Assignee: Francois Papon
>            Priority: Major
>              Labels: modules
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The Shiro project is split into a number of "modules" which provide OSGi metadata, and will likely provide JPMS Module descriptors at some point in the future. Both of these module platforms play very badly with "split packages" specifically packages that are present with different content across more than one module.
> JPMS completely forbids packages from being present in more than one module. OSGi is somewhat more permissive than JPMS, in that split packages are only problematic if they are "exported" and have different content, however in Shiro's case there are no internal packages (all packages are exported).
>  
> Shiro contains several such packages, for example `org.apache.shiro` and `org.apache.shiro.util` are split with different content across the shiro-core and shiro-lang modules. This must be fixed, with each package (in its entirety) being hosted in a single module if Shiro is going to be usable in a modular Java world.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org