[jboss-jira] [JBoss JIRA] (WFLY-9855) [JDK9+] org.jboss.security.negotiation.spnego package is exported by two jars

Tomas Hofman (Jira) issues at jboss.org
Wed Nov 21 06:42:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-9855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664485#comment-13664485 ] 

Tomas Hofman commented on WFLY-9855:
------------------------------------

It looks that the two offending classes were already moved to other packages and exist in org.jboss.security.negotiation.spnego in extras only for compatibility reasons. But I don't think we can remove them for CPs, so new (minor) version of jboss-nego would have to be released just for WFLY.

> [JDK9+] org.jboss.security.negotiation.spnego package is exported by two jars
> -----------------------------------------------------------------------------
>
>                 Key: WFLY-9855
>                 URL: https://issues.jboss.org/browse/WFLY-9855
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Tomaz Cerar
>            Assignee: Tomas Hofman
>            Priority: Critical
>
> Currently if you have 
> jboss-negotiation-spnego-3.0.4.Final and jboss-negotiation-extras-3.0.4.Final.jar
> on your module path, jvm complains as both jars export package org.jboss.security.negotiation.spnego
> which violates the modules contract where only one module (jar) can provide single package.
> example error that jvm prints
> {noformat}
> Error: Modules jboss.negotiation.extras and jboss.negotiation.spnego export package org.jboss.security.negotiation.spnego to module wildfly.clustering.common
> {noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list