You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2020/11/12 18:09:00 UTC

[jira] [Commented] (SSHD-1091) Java Module support

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

Lyor Goldstein commented on SSHD-1091:
--------------------------------------

This is definitely something we will need to go into - however, we currently declare Java 8 to be our only requirement. Java 9 (and beyond) will certainly require some work.
{quote}
The hardest problem to solve is the split packages.
{quote}

This is indeed a pain point - the current packages structure is a compromise of an evolution over time from a monolithic JAR to some resemblance of modules. The road is still long to a fully modular approach - further complicated by the fact that it would require a rather massive re-factoring of the packages names which would break a lot of backward compatibility (there were some re-factorings in the past but they were more limited in scope).


> Java Module support
> -------------------
>
>                 Key: SSHD-1091
>                 URL: https://issues.apache.org/jira/browse/SSHD-1091
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.5.1
>            Reporter: Gili
>            Priority: Major
>              Labels: important
>
> Please use the mechanism found at https://github.com/apache/maven-compiler-plugin/blob/master/src/it/multirelease-patterns/singleproject-runtime/pom.xml#L102-L108 to build multirelease JAR that will provide module-info.java for users of Java 9 and newer.
> The current JAR triggers many problems for users of Java Modules and in fact cannot be used at all in its current state due to https://issues.apache.org/jira/browse/MCOMPILER-436
> This might be a bug in the Maven Compiler plugin but I suspect that ultimately it will a problem with the library itself. For example, I noticed that Apache Mina (which this library depends on) has split packages. Split packages are incompatible with Java Modules.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org