[jboss-jira] [JBoss JIRA] (WFLY-10279) [JDK9] Xalan - Provider class org.apache.bsf.BSFManager not in module

Brian Stansberry (Jira) issues at jboss.org
Mon Mar 18 15:46:01 EDT 2019


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

Brian Stansberry commented on WFLY-10279:
-----------------------------------------

[~smarlow] If there's no existing place where a note about this would fit it seems kind of obscure and not particularly related to WildFly for us to document it. (Apache BSF 3.x, latest release 2013, doesn't even include this class. So we're talking old stuff.)

Of course if the upstream of our xalan-j fork had this fixed we should port that. But they haven't done that.

Perhaps we could provide a module-info.java via our fork.  It seems a bit off to do that via what's basically a bug-fix fork though. I'm not sure if we've done that for other such things. [~ropalka] or [~dmlloyd] may know better. (I consider our spec API jars to be a different category from jboss/xalan-j.)

I _assume_ a module-info.java would fix this as it would stop jar -d from trying to figure out the module description via code analysis. A module-info.java would not list org.apache.xalan.extensions.bsf.BSFManager as a provided service, both because the module doesn't provide it and because that string never represented a ServiceLoader service interface name; it was used for a pre-ServiceLoader mechanism for finding implementations of things.

> [JDK9] Xalan - Provider class org.apache.bsf.BSFManager not in module
> ---------------------------------------------------------------------
>
>                 Key: WFLY-10279
>                 URL: https://issues.jboss.org/browse/WFLY-10279
>             Project: WildFly
>          Issue Type: Bug
>          Components: XML Frameworks
>    Affects Versions: 12.0.0.Final
>            Reporter: Rostislav Svoboda
>            Assignee: Scott Marlow
>            Priority: Major
>
> jar -d --file dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT//modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-4.jar
> Unable to derive module descriptor for: dist/target/wildfly-13.0.0.Alpha1-SNAPSHOT/modules/system/layers/base/org/apache/xalan/main/xalan-2.7.1.jbossorg-4.jar
> Provider class org.apache.bsf.BSFManager not in module
> CCing [~ropalka] [~dlloyd]



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


More information about the jboss-jira mailing list