[jboss-jira] [JBoss JIRA] (WFCORE-4086) Starting an embedded server with older versions of WildFly Core results in a NoSuchMethodException
Brian Stansberry (JIRA)
issues at jboss.org
Tue Sep 4 12:44:00 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-4086:
-------------------------------------
Component/s: CLI
[~jfdenise] FYI. I believe this would affect the CLI embed-[server|host-controller] if the --jboss-home param was used and it pointed to a previous release.
It would be nice to be able to test that but it's a pretty big pain. For the mixed-domain tests in full there's already some hooks for using legacy release zips if they are already present on the FS. And then for CI we ensure that they are present. Maybe something like that could be done for CLI testing.
> Starting an embedded server with older versions of WildFly Core results in a NoSuchMethodException
> --------------------------------------------------------------------------------------------------
>
> Key: WFCORE-4086
> URL: https://issues.jboss.org/browse/WFCORE-4086
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI, Embedded
> Reporter: James Perkins
> Assignee: James Perkins
>
> WFCORE-3943 introduced a new method which accepts a class loader for the reflective invocation. This fails with any release of WildFly Core prior to 6.0.0.Alpha5 as the method including the class loader is not present. The method using the class loader should be checked and fallback to the method without the class loader parameter.
> Note that this _may_ affect the migration tool which could require a 6.0.2.Final release of WildFly Core.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list